摘要: select * from (select * from 表名) t where not exists (select 1 from表名 where ID=t.ID-1) 阅读全文
posted @ 2018-10-12 14:01 星河千年之光 阅读(2441) 评论(0) 推荐(1)
摘要: Server Error in '/' Application. This collection already contains an address with scheme http. There can be at most one address per scheme in this col 阅读全文
posted @ 2017-05-26 23:14 星河千年之光 阅读(129) 评论(0) 推荐(0)
摘要: 在从一个数据库服务把数据库文件复制到另一个数据库服务附加进去。让后用sql查询发现报错,百度一下发现,这就是所谓的孤立帐户。孤立帐户:就是某个数据库的帐户只有用户名而没有登录名,这样的用户在用户库的sysusers系统表中存在,而在master数据库的syslogins中却没有对应的记录。解决方法:... 阅读全文
posted @ 2015-10-21 16:33 星河千年之光 阅读(238) 评论(0) 推荐(0)