摘要:
--在当前数据库下进行操作USE DB;GO --创建能够访问当前数据库服务器的登录用户 CREATE LOGIN test002 WITH PASSWORD = 'wp7340$UuxMcxo7Khy'; GO --创建能够访问当前数据库的登录用户 CREATE USER test002 FOR 阅读全文
摘要:
select q.objectid,q.number,q.encrypted,q.[text],* from ( select top 50 qs.* from sys.dm_exec_query_stats qs order by qs.total_worker_time desc) as hig 阅读全文
摘要:
.NET Core was released a few months ago, and data access libraries for most databases, both relational and NoSQL are now available. In this post, I’ll 阅读全文
摘要:
1 declare testcur cursor scroll for 2 select top 10 newid() from [master].[sys].[databases] order by newid() 3 open testcur 4 5 print ('总行数'+CHAR(13)+CHAR(10)+convert(varchar(50),@@cursor_rows)... 阅读全文