sql文档
文章平均质量分 60
shengalaxy
这个作者很懒,什么都没留下…
展开
-
sql
原创 2013-03-22 16:51:36 · 59 阅读 · 0 评论 -
sqlserver 各table的空间
原创 2013-04-17 11:30:12 · 95 阅读 · 0 评论 -
sqlserver excel
s the complete steps for Microsoft Excel data import to SQL Server using distributed queries technique. The article describes the steps for all modern platforms: Microsoft SQL Server 2005/2008/R2/2012 on the x86/x64 platform. Microsoft Excel 2003/2007原创 2013-04-26 15:42:41 · 98 阅读 · 0 评论 -
sqlserver insert 后的主键获取方式
DENTITY 列内的最后一个 IDENTITY 值。一个作用域就是一个模块--存储过程、触发器、函数或批处理。因此,如果两个语句处于同一个存储过程、函数或批处理中,则它们位于相同的作用域中。@@IDENTITY 返回在当前会话的所有表中生成的最后一个标识值IDENT_CURRENT() 返回为任何会话和任何作用域中的指定表最后生成的标识值 CREATE PROCEDURE [dbo].[prInsertCustomArea] @AreaName NVARCHAR(50), @user原创 2013-04-27 12:48:41 · 437 阅读 · 0 评论 -
The database could not be exclusively locked to perform the operation(SQL Server
修改 Collocation,出现了The database could not be exclusively locked to perform the operation这个错误,无法修改字符集为Chinese_PRC_90_CI_AS。 解决办法找了很久才找到,如下: 1.执行SQL ALTER DATABASE db_database SET SINGLE_USER WITH ROLLBACK IMMEDIATE 修改为单用户模式 2.然后关闭所有的查询窗口,修改Options的Colloc原创 2013-05-28 16:32:39 · 173 阅读 · 0 评论