码迷,mamicode.com
首页 >  
搜索关键字:where    ( 20257个结果
企业需教育业务用户重视数据安全问题
要保证数据安全需要做的大部分工作都是相对简单的,前提是我们要问自己六个关键的问题:“who, what,where, when, how, why” Who代表着不同的股东;What代表着哪些数据需要保护;Where表示存放数据的位置;When代表数据最敏感的时段,比如升级时;How代表需要做...
分类:其他好文   时间:2014-07-16 23:30:07    阅读次数:245
mysql基本优化
MYSQL处理百万级以上的数据提高查询速度的方法,其它数据库应用也有一定的参考价值:1.应尽量避免在 where 子句中使用!=或操作符,否则将引擎放弃使用索引而进行全表扫描。2.对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。3.应尽量避免在...
分类:数据库   时间:2014-07-16 23:25:20    阅读次数:272
windows2003下修改mysql密码
1:进入cmd2:命令:mysql -u root mysql -p 回车输入密码:3:use mysql;4:命令:update user set password=password('新密码') where user='root'; //最后分号不要丢5:命令:flush privileges....
分类:数据库   时间:2014-07-16 23:20:34    阅读次数:260
.Net常用技巧_获取SQL Server表字段的各种属性
-- SQL Server 2000SELECT a.name AS 字段名, CASE WHEN EXISTS (SELECT 1 FROM sysobjects WHERE xtype = 'PK' AND parent_obj = a.id AND name IN (SELECT name F...
分类:数据库   时间:2014-07-16 23:16:46    阅读次数:294
Search Insert Position (LeetCode)
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:其他好文   时间:2014-07-16 23:16:32    阅读次数:156
SQL简体繁体转换函数代码
--生成码表if exists (select * from dbo.sysobjects where id = object_id(N'[codetable]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [codetable] ...
分类:数据库   时间:2014-07-16 23:07:18    阅读次数:11086
c# 轻量级ORM框架 之 WhereHelper (二)
上篇文章发布了一些设计orm框架基层的和实现,有朋友提出WhereHelper是亮点,能被认可我表示高兴.我就把WhereHelper设计思想和代码公开下.WhereHelper 的概念就是再拼接where 条件,为了能兼容各种数据库和参数化查询,故封装了该对象.首先根据我的框架结构: 1.Com....
分类:其他好文   时间:2014-07-10 12:04:20    阅读次数:235
连接查询的时候,on和where的区别。
连接查询的时候,on和where的区别。使用的是NorthWind数据测试。1.内部连接。在连接的时候省略了inner。查询客户VINET的订单。select * FROM Orders a join Customers bon a.CustomerID=b.CustomerID AND a.Cus...
分类:其他好文   时间:2014-07-10 10:58:03    阅读次数:175
LeetCode——Path Sum II
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example: Given the below binary tree and sum = 22, 5 / ...
分类:其他好文   时间:2014-06-28 07:31:28    阅读次数:214
2000W
createindexindex_nameoncdsgus(name)select*fromcdsguswherename=‘***‘execsp_helpindexcdsgus
分类:其他好文   时间:2014-06-28 00:37:08    阅读次数:185
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!