sql server
cugbin
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
判断sqlserver对象是否存在(转)
--查看对象是否已经存在 --数据库是否存在 --if exists (select * from sys.databases where name = ’数据库名’) -- drop database [数据库名] if exists(select * from sys.databases where转载 2016-04-29 18:02:46 · 458 阅读 · 0 评论 -
Windows验证和 Sql混合验证
1,Windows验证 Common.ConnString = @"Initial Catalog=数据库名;Data Source=电脑名或IP地址;Integrated Security=SSPI"; 2, Sql混合验证 Common.ConnString = @"server=电脑名或IP地址;database=数据库名;uid=用户名;passw转载 2016-04-29 18:04:25 · 759 阅读 · 0 评论
分享