Sql Server
Radish_Kevin
小萝卜——坚持走自己的路!!!
展开
-
SqlServer 建立索引
--在adgroup表创建索引: USE ds_api GO IF EXISTS (SELECT name FROM sysindexes WHERE name = 'IX_adgroup') DROP INDEX adgroup.IX_adgroup CREATE NONCLUSTERED INDEX IX_adgroup ON adgroup(原创 2012-12-27 10:15:30 · 515 阅读 · 0 评论 -
Excel2007导入Sql2008
今天在做项目的时候,本地有一张客户表需要手动添加到数据库中。一下是导入方法: 首页开启导入功能,并允许进程中使用ACE.OLEDB.12: --开启导入功能 exec sp_configure 'show advanced options',1 reconfigure exec sp_configure 'Ad Hoc Distributed Queries',1 reconfigure原创 2012-12-20 11:47:30 · 1398 阅读 · 1 评论 -
Sql语句查询当天 本周 本月记录
–info为表名,datetime为数据库中的字段值 –查询当天: select * from info where DateDiff(dd,datetime,getdate())=0–查询24小时内的: select * from info where DateDiff(hh,datetime,getDate())–info为表名,datetime为数据库中的字段值 –查询当天记原创 2013-03-12 12:51:29 · 4381 阅读 · 0 评论 -
SQL Prompt5 破解版+使用说明
Red Gate系列文章: Red Gate系列之一 SQL Compare 10.2.0.1337 Edition 数据库比较工具 完全破解+使用教程 Red Gate系列之二 SQL Source Control 3.0.13.4214 Edition 数据库版本控制器 完全破解+使用教程 Red Gate系列之三 SQL Server 开发利器 SQL Prompt 5.3.4.1转载 2013-06-20 10:08:11 · 19608 阅读 · 6 评论