摘要:
1NF:Requiring existence of "the key"2NF:non-key attributes be dependent on "the whole key"3NF:non-key attributes be dependent on "nothing but the key" 阅读全文
摘要:
SELECT L.request_session_id AS SPID, DB_NAME(L.resource_database_id) AS DatabaseName, O.Name AS LockedObjectName, P.object_id AS LockedObjectId, L.resource_type AS LockedResource, L.request_mode A... 阅读全文
摘要:
if( OBJECT_ID('tempdb..#t1') is not null) drop table #t1 create table #t1 (id int ) begin tran begin try insert into #t1(id) values(1) print '1' raiserror('1 error',16,1) print '11' commit print '111'... 阅读全文