<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; TRANSACTION, DML and Schema Locks</title>
	<atom:link href="http://blog.sqlauthority.com/2010/06/21/sql-server-transaction-dml-and%C2%A0schema%C2%A0locks/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2010/06/21/sql-server-transaction-dml-and%c2%a0schema%c2%a0locks/</link>
	<description>SQL, SQL Server, MySQL, Big Data and NoSQL</description>
	<lastBuildDate>Thu, 20 Jun 2013 06:45:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: vic</title>
		<link>http://blog.sqlauthority.com/2010/06/21/sql-server-transaction-dml-and%c2%a0schema%c2%a0locks/#comment-272102</link>
		<dc:creator><![CDATA[vic]]></dc:creator>
		<pubDate>Wed, 04 Apr 2012 22:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9269#comment-272102</guid>
		<description><![CDATA[Corrected some typos...

Pinal,
Can you help explain the following:

SESSION 52:
use tempdb
go
create table tableA  (col1 int identity(1,1) not null primary key)
go
begin tran
	insert into tableA default values
	waitfor delay &#039;1:00&#039;
rollback tran

SESSION 53:
USE TEMPDB
GO
alter table tableA add col2 int

SESSION 55:
insert into tableA default values
/* insert is immediately successful */

SESSION 58:
EXEC SP_LOCK (omiited some data to make it viewable)
spid	ObjId	Type	Mode	Status
52	938157062	TAB	IX	GRANT
52	938157062	PAG	IX	GRANT
52	938157062	KEY	X	GRANT
53	938157062	TAB	Sch-M	WAIT
53	938157062	TAB	Sch-M	GRANT
53	938157062	TAB	Sch-M	GRANT
53	938157062	TAB	Sch-M	GRANT
53	938157062	TAB	Sch-M	GRANT
53	938157062	TAB	Sch-M	GRANT
58	1131151075	TAB	IS	GRANT

So, the inserts require a table level IX lock and aren&#039;t blocked by the table level Sch-M lock.

Let&#039;s try this again with a DELETE.

SESSION 52:

USE tempdb
GO
drop table tableA
GO
create table tableA  (col1 int identity(1,1) not null primary key)
go
insert into tableA default values
insert into tableA default values
insert into tableA default values
GO

SESSION 53:
BEGIN TRAN
	DELETE  TABLEA WHERE COL1=1
	WAITFOR DELAY &#039;1:00&#039;
ROLLBACK TRAN

SESSION 55:
ALTER TABLE TABLEA ADD COL2 INT

SESSION 57:
DELETE TABLEA WHERE COL1=2
/* NOW IT&#039;S BLOCKED */

SESSION 61:
spid	dbid	ObjId	Type	Mode	Status
53	2	0	PAG	IX	GRANT
53	2	1066157518	TAB	IX	GRANT
53	2	0	KEY	X	GRANT
53	2	1002157290	TAB	IX	GRANT
54	7	0	DB	S	GRANT
55	2	1066157518	TAB	Sch-M	GRANT
55	2	1066157518	TAB	Sch-M	GRANT
55	2	1066157518	TAB	Sch-M	GRANT
55	2	1066157518	TAB	Sch-M	GRANT
55	2	1066157518	TAB	Sch-M	GRANT
55	2	1066157518	TAB	Sch-M	GRANT
55	2	1066157518	TAB	Sch-M	GRANT
55	2	1066157518	TAB	Sch-M	GRANT
55	2	1066157518	TAB	Sch-M	WAIT
55	2	1066157518	TAB	Sch-M	GRANT
55	2	1066157518	TAB	Sch-M	GRANT
55	2	1066157518	TAB	Sch-M	GRANT
55	2	1066157518	TAB	Sch-M	GRANT
57	2	1066157518	TAB	IX	WAIT
61	7	0	DB	S	GRANT
61	1	1131151075	TAB	IS	GRANT
62	7	0	DB	S	GRANT

So, the insert was fine as we saw before but now with a DELETE.. it&#039;s blocked... Note the wait for the TAB level, IX on session 57.  Session 57 is blocked by 55, the alter table statement.  But why didn&#039;t this occur on the INSERT, in the previous example.

In addition, the lock compatibility matrix (http://msdn.microsoft.com/en-us/library/ms186396.aspx) says that IX and SCH-M locks are not compatible.  As a result, the ALTER should not have granted any SCH-M locks on the same table object.

I tried this with UPDATES and the result is the same as with DELETES.]]></description>
		<content:encoded><![CDATA[<p>Corrected some typos&#8230;</p>
<p>Pinal,<br />
Can you help explain the following:</p>
<p>SESSION 52:<br />
use tempdb<br />
go<br />
create table tableA  (col1 int identity(1,1) not null primary key)<br />
go<br />
begin tran<br />
	insert into tableA default values<br />
	waitfor delay &#8217;1:00&#8242;<br />
rollback tran</p>
<p>SESSION 53:<br />
USE TEMPDB<br />
GO<br />
alter table tableA add col2 int</p>
<p>SESSION 55:<br />
insert into tableA default values<br />
/* insert is immediately successful */</p>
<p>SESSION 58:<br />
EXEC SP_LOCK (omiited some data to make it viewable)<br />
spid	ObjId	Type	Mode	Status<br />
52	938157062	TAB	IX	GRANT<br />
52	938157062	PAG	IX	GRANT<br />
52	938157062	KEY	X	GRANT<br />
53	938157062	TAB	Sch-M	WAIT<br />
53	938157062	TAB	Sch-M	GRANT<br />
53	938157062	TAB	Sch-M	GRANT<br />
53	938157062	TAB	Sch-M	GRANT<br />
53	938157062	TAB	Sch-M	GRANT<br />
53	938157062	TAB	Sch-M	GRANT<br />
58	1131151075	TAB	IS	GRANT</p>
<p>So, the inserts require a table level IX lock and aren&#8217;t blocked by the table level Sch-M lock.</p>
<p>Let&#8217;s try this again with a DELETE.</p>
<p>SESSION 52:</p>
<p>USE tempdb<br />
GO<br />
drop table tableA<br />
GO<br />
create table tableA  (col1 int identity(1,1) not null primary key)<br />
go<br />
insert into tableA default values<br />
insert into tableA default values<br />
insert into tableA default values<br />
GO</p>
<p>SESSION 53:<br />
BEGIN TRAN<br />
	DELETE  TABLEA WHERE COL1=1<br />
	WAITFOR DELAY &#8217;1:00&#8242;<br />
ROLLBACK TRAN</p>
<p>SESSION 55:<br />
ALTER TABLE TABLEA ADD COL2 INT</p>
<p>SESSION 57:<br />
DELETE TABLEA WHERE COL1=2<br />
/* NOW IT&#8217;S BLOCKED */</p>
<p>SESSION 61:<br />
spid	dbid	ObjId	Type	Mode	Status<br />
53	2	0	PAG	IX	GRANT<br />
53	2	1066157518	TAB	IX	GRANT<br />
53	2	0	KEY	X	GRANT<br />
53	2	1002157290	TAB	IX	GRANT<br />
54	7	0	DB	S	GRANT<br />
55	2	1066157518	TAB	Sch-M	GRANT<br />
55	2	1066157518	TAB	Sch-M	GRANT<br />
55	2	1066157518	TAB	Sch-M	GRANT<br />
55	2	1066157518	TAB	Sch-M	GRANT<br />
55	2	1066157518	TAB	Sch-M	GRANT<br />
55	2	1066157518	TAB	Sch-M	GRANT<br />
55	2	1066157518	TAB	Sch-M	GRANT<br />
55	2	1066157518	TAB	Sch-M	GRANT<br />
55	2	1066157518	TAB	Sch-M	WAIT<br />
55	2	1066157518	TAB	Sch-M	GRANT<br />
55	2	1066157518	TAB	Sch-M	GRANT<br />
55	2	1066157518	TAB	Sch-M	GRANT<br />
55	2	1066157518	TAB	Sch-M	GRANT<br />
57	2	1066157518	TAB	IX	WAIT<br />
61	7	0	DB	S	GRANT<br />
61	1	1131151075	TAB	IS	GRANT<br />
62	7	0	DB	S	GRANT</p>
<p>So, the insert was fine as we saw before but now with a DELETE.. it&#8217;s blocked&#8230; Note the wait for the TAB level, IX on session 57.  Session 57 is blocked by 55, the alter table statement.  But why didn&#8217;t this occur on the INSERT, in the previous example.</p>
<p>In addition, the lock compatibility matrix (<a href="http://msdn.microsoft.com/en-us/library/ms186396.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms186396.aspx</a>) says that IX and SCH-M locks are not compatible.  As a result, the ALTER should not have granted any SCH-M locks on the same table object.</p>
<p>I tried this with UPDATES and the result is the same as with DELETES.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vic</title>
		<link>http://blog.sqlauthority.com/2010/06/21/sql-server-transaction-dml-and%c2%a0schema%c2%a0locks/#comment-272099</link>
		<dc:creator><![CDATA[vic]]></dc:creator>
		<pubDate>Wed, 04 Apr 2012 22:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9269#comment-272099</guid>
		<description><![CDATA[Pinal,
Can you help explain the following:

SESSION 52:
use tempdb
go
create table tableA  (col1 int identity(1,1) not null primary key)
go
begin tran
	insert into tableA default values
	waitfor delay &#039;1:00&#039;
rollback tran

SESSION 53:
USE TEMP
GO
alter table tableA add col2 int

SESSION 55:
insert into tableA default values
/* insert is immediately successful */

SESSION 58:
EXEC SP_LOCK (omiited some data to make it viewable)
spid	ObjId	Type	Mode	Status
52	938157062	TAB	IX	GRANT
52	938157062	PAG	IX	GRANT
52	938157062	KEY	X	GRANT
53	938157062	TAB	Sch-M	WAIT
53	938157062	TAB	Sch-M	GRANT
53	938157062	TAB	Sch-M	GRANT
53	938157062	TAB	Sch-M	GRANT
53	938157062	TAB	Sch-M	GRANT
53	938157062	TAB	Sch-M	GRANT
58	1131151075	TAB	IS	GRANT

So, the inserts require a table level IX lock and aren&#039;t blocked by the table level Sch-M lock.

Let&#039;s try this again with a DELETE.

SESSION 52:

USE tempdb
GO
drop table tableA
GO
create table tableA  (col1 int identity(1,1) not null primary key)
go
insert into tableA default values
insert into tableA default values
insert into tableA default values
GO

SESSION 53:
BEGIN TRAN
	DELETE  TABLEA WHERE COL1=1
	WAITFOR DELAY &#039;1:00&#039;
ROLLBACK TRAN

SESSION 55:
ALTER TABLE TABLEA ADD COL2 INT

SESSION 57:
DELETE TABLEA WHERE COL1=1
/* NOW IT&#039;S BLOCKED */

SESSION 61:
spid	dbid	ObjId	Type	Mode	Status
53	2	0	PAG	IX	GRANT
53	2	1002157290	TAB	IX	GRANT
53	2	0	KEY	X	GRANT
54	7	0	DB	S	GRANT
55	2	1002157290	TAB	Sch-M	GRANT
55	2	1002157290	TAB	Sch-M	GRANT
55	2	1002157290	TAB	Sch-M	GRANT
55	2	1002157290	TAB	Sch-M	GRANT
55	2	1002157290	TAB	Sch-M	GRANT
55	2	1002157290	TAB	Sch-M	GRANT
55	2	1002157290	TAB	Sch-M	WAIT
55	2	1002157290	TAB	Sch-M	GRANT
55	2	1002157290	TAB	Sch-M	GRANT
55	2	1002157290	TAB	Sch-M	GRANT
55	2	1002157290	TAB	Sch-M	GRANT
55	2	1002157290	TAB	Sch-M	GRANT
55	2	1002157290	TAB	Sch-M	GRANT
57	2	1002157290	TAB	IX	WAIT
61	7	0	DB	S	GRANT
61	1	1131151075	TAB	IS	GRANT
62	7	0	DB	S	GRANT

So, the insert was fine as we saw before but now with a DELETE.. it&#039;s blocked... Note the wait for the TAB level, IX on session 57.  Session 57 is blocked by 55, the alter table statement.  But why didn&#039;t this occur on the INSERT, in the previous example.

In addition, the lock compatibility matrix (http://msdn.microsoft.com/en-us/library/ms186396.aspx) says that IX and SCH-M locks are not compatible.  As a result, the ALTER should not have granted any SCH-M locks on the same table object.

I tried this with UPDATES and the result is the same as with DELETES.]]></description>
		<content:encoded><![CDATA[<p>Pinal,<br />
Can you help explain the following:</p>
<p>SESSION 52:<br />
use tempdb<br />
go<br />
create table tableA  (col1 int identity(1,1) not null primary key)<br />
go<br />
begin tran<br />
	insert into tableA default values<br />
	waitfor delay &#8217;1:00&#8242;<br />
rollback tran</p>
<p>SESSION 53:<br />
USE TEMP<br />
GO<br />
alter table tableA add col2 int</p>
<p>SESSION 55:<br />
insert into tableA default values<br />
/* insert is immediately successful */</p>
<p>SESSION 58:<br />
EXEC SP_LOCK (omiited some data to make it viewable)<br />
spid	ObjId	Type	Mode	Status<br />
52	938157062	TAB	IX	GRANT<br />
52	938157062	PAG	IX	GRANT<br />
52	938157062	KEY	X	GRANT<br />
53	938157062	TAB	Sch-M	WAIT<br />
53	938157062	TAB	Sch-M	GRANT<br />
53	938157062	TAB	Sch-M	GRANT<br />
53	938157062	TAB	Sch-M	GRANT<br />
53	938157062	TAB	Sch-M	GRANT<br />
53	938157062	TAB	Sch-M	GRANT<br />
58	1131151075	TAB	IS	GRANT</p>
<p>So, the inserts require a table level IX lock and aren&#8217;t blocked by the table level Sch-M lock.</p>
<p>Let&#8217;s try this again with a DELETE.</p>
<p>SESSION 52:</p>
<p>USE tempdb<br />
GO<br />
drop table tableA<br />
GO<br />
create table tableA  (col1 int identity(1,1) not null primary key)<br />
go<br />
insert into tableA default values<br />
insert into tableA default values<br />
insert into tableA default values<br />
GO</p>
<p>SESSION 53:<br />
BEGIN TRAN<br />
	DELETE  TABLEA WHERE COL1=1<br />
	WAITFOR DELAY &#8217;1:00&#8242;<br />
ROLLBACK TRAN</p>
<p>SESSION 55:<br />
ALTER TABLE TABLEA ADD COL2 INT</p>
<p>SESSION 57:<br />
DELETE TABLEA WHERE COL1=1<br />
/* NOW IT&#8217;S BLOCKED */</p>
<p>SESSION 61:<br />
spid	dbid	ObjId	Type	Mode	Status<br />
53	2	0	PAG	IX	GRANT<br />
53	2	1002157290	TAB	IX	GRANT<br />
53	2	0	KEY	X	GRANT<br />
54	7	0	DB	S	GRANT<br />
55	2	1002157290	TAB	Sch-M	GRANT<br />
55	2	1002157290	TAB	Sch-M	GRANT<br />
55	2	1002157290	TAB	Sch-M	GRANT<br />
55	2	1002157290	TAB	Sch-M	GRANT<br />
55	2	1002157290	TAB	Sch-M	GRANT<br />
55	2	1002157290	TAB	Sch-M	GRANT<br />
55	2	1002157290	TAB	Sch-M	WAIT<br />
55	2	1002157290	TAB	Sch-M	GRANT<br />
55	2	1002157290	TAB	Sch-M	GRANT<br />
55	2	1002157290	TAB	Sch-M	GRANT<br />
55	2	1002157290	TAB	Sch-M	GRANT<br />
55	2	1002157290	TAB	Sch-M	GRANT<br />
55	2	1002157290	TAB	Sch-M	GRANT<br />
57	2	1002157290	TAB	IX	WAIT<br />
61	7	0	DB	S	GRANT<br />
61	1	1131151075	TAB	IS	GRANT<br />
62	7	0	DB	S	GRANT</p>
<p>So, the insert was fine as we saw before but now with a DELETE.. it&#8217;s blocked&#8230; Note the wait for the TAB level, IX on session 57.  Session 57 is blocked by 55, the alter table statement.  But why didn&#8217;t this occur on the INSERT, in the previous example.</p>
<p>In addition, the lock compatibility matrix (<a href="http://msdn.microsoft.com/en-us/library/ms186396.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms186396.aspx</a>) says that IX and SCH-M locks are not compatible.  As a result, the ALTER should not have granted any SCH-M locks on the same table object.</p>
<p>I tried this with UPDATES and the result is the same as with DELETES.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vikas kumar</title>
		<link>http://blog.sqlauthority.com/2010/06/21/sql-server-transaction-dml-and%c2%a0schema%c2%a0locks/#comment-245599</link>
		<dc:creator><![CDATA[vikas kumar]]></dc:creator>
		<pubDate>Mon, 30 Jan 2012 07:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9269#comment-245599</guid>
		<description><![CDATA[We want to know the details explation that how locks work when DDL operation is going on in a database]]></description>
		<content:encoded><![CDATA[<p>We want to know the details explation that how locks work when DDL operation is going on in a database</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Locking, Blocking and Deadlock &#8211; Quiz &#8211; Puzzle &#8211; 9 of 31 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2010/06/21/sql-server-transaction-dml-and%c2%a0schema%c2%a0locks/#comment-234541</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Locking, Blocking and Deadlock &#8211; Quiz &#8211; Puzzle &#8211; 9 of 31 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Tue, 10 Jan 2012 01:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9269#comment-234541</guid>
		<description><![CDATA[[...] Simple Example of Snapshot Isolation – Reduce the Blocking Transactions TRANSACTION, DML and Schema Locks Introduction to Live Lock – What is Live Lock? Applying NOLOCK Hint at Query Level – NOLOCK for [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Simple Example of Snapshot Isolation – Reduce the Blocking Transactions TRANSACTION, DML and Schema Locks Introduction to Live Lock – What is Live Lock? Applying NOLOCK Hint at Query Level – NOLOCK for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Locking and Blocking &#8211; Important Aspect of Database and Effect on Performance &#8211; Quiz &#8211; Puzzle &#8211; 5 of 31 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2010/06/21/sql-server-transaction-dml-and%c2%a0schema%c2%a0locks/#comment-232122</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Locking and Blocking &#8211; Important Aspect of Database and Effect on Performance &#8211; Quiz &#8211; Puzzle &#8211; 5 of 31 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Fri, 06 Jan 2012 01:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9269#comment-232122</guid>
		<description><![CDATA[[...] Simple Example of Snapshot Isolation – Reduce the Blocking Transactions TRANSACTION, DML and Schema Locks Introduction to Live Lock – What is Live Lock? Applying NOLOCK Hint at Query Level – NOLOCK for [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Simple Example of Snapshot Isolation – Reduce the Blocking Transactions TRANSACTION, DML and Schema Locks Introduction to Live Lock – What is Live Lock? Applying NOLOCK Hint at Query Level – NOLOCK for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vanita singh</title>
		<link>http://blog.sqlauthority.com/2010/06/21/sql-server-transaction-dml-and%c2%a0schema%c2%a0locks/#comment-136910</link>
		<dc:creator><![CDATA[vanita singh]]></dc:creator>
		<pubDate>Thu, 26 May 2011 17:24:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9269#comment-136910</guid>
		<description><![CDATA[This question was asked in my interview and i replied exactly as written here.My interviewer was impressed and i got into infosys.Thanks.]]></description>
		<content:encoded><![CDATA[<p>This question was asked in my interview and i replied exactly as written here.My interviewer was impressed and i got into infosys.Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2010/06/21/sql-server-transaction-dml-and%c2%a0schema%c2%a0locks/#comment-77444</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Wed, 23 Jun 2010 15:47:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9269#comment-77444</guid>
		<description><![CDATA[Ramdas, could not agree with you more. There were time when I was not sure how schema locks worked. I took some time before I totally understand too.

We all go through the phase where we learn.

Kind Regards,
Pinal]]></description>
		<content:encoded><![CDATA[<p>Ramdas, could not agree with you more. There were time when I was not sure how schema locks worked. I took some time before I totally understand too.</p>
<p>We all go through the phase where we learn.</p>
<p>Kind Regards,<br />
Pinal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2010/06/21/sql-server-transaction-dml-and%c2%a0schema%c2%a0locks/#comment-77443</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Wed, 23 Jun 2010 15:45:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9269#comment-77443</guid>
		<description><![CDATA[Thank you John for your kind words.

I do follow your blog and you are very true, your Top 10 Junior DBA interview tips are good. There are few, which even Sr. DBA can get wrong too :)

It is all about *real* experience and I am sure there are very few people like the same.

Kind Regards,
Pinal]]></description>
		<content:encoded><![CDATA[<p>Thank you John for your kind words.</p>
<p>I do follow your blog and you are very true, your Top 10 Junior DBA interview tips are good. There are few, which even Sr. DBA can get wrong too :)</p>
<p>It is all about *real* experience and I am sure there are very few people like the same.</p>
<p>Kind Regards,<br />
Pinal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Sansom</title>
		<link>http://blog.sqlauthority.com/2010/06/21/sql-server-transaction-dml-and%c2%a0schema%c2%a0locks/#comment-77427</link>
		<dc:creator><![CDATA[John Sansom]]></dc:creator>
		<pubDate>Wed, 23 Jun 2010 14:18:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9269#comment-77427</guid>
		<description><![CDATA[What a great question Pinal. 

It appears simple at first but actually requires some thought and problem solving. Important traits in a good SQL Developer or DBA.

On the subject of interviewing SQL Server data professionals, you may be interested to read my &quot;Top 10 Junior DBA Interview Tips&quot;.

http://www.johnsansom.com/index.php/2010/02/top-10-junior-dba-interview-tips/]]></description>
		<content:encoded><![CDATA[<p>What a great question Pinal. </p>
<p>It appears simple at first but actually requires some thought and problem solving. Important traits in a good SQL Developer or DBA.</p>
<p>On the subject of interviewing SQL Server data professionals, you may be interested to read my &#8220;Top 10 Junior DBA Interview Tips&#8221;.</p>
<p><a href="http://www.johnsansom.com/index.php/2010/02/top-10-junior-dba-interview-tips/" rel="nofollow">http://www.johnsansom.com/index.php/2010/02/top-10-junior-dba-interview-tips/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramdas</title>
		<link>http://blog.sqlauthority.com/2010/06/21/sql-server-transaction-dml-and%c2%a0schema%c2%a0locks/#comment-77197</link>
		<dc:creator><![CDATA[Ramdas]]></dc:creator>
		<pubDate>Mon, 21 Jun 2010 19:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9269#comment-77197</guid>
		<description><![CDATA[Good article. This question could stump folks who have not paid attention to Schema locks, usually the tendency is to look for the regular locks and exclusive locks. Also this brings in the concept of understanding transactions.]]></description>
		<content:encoded><![CDATA[<p>Good article. This question could stump folks who have not paid attention to Schema locks, usually the tendency is to look for the regular locks and exclusive locks. Also this brings in the concept of understanding transactions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aasim Abdullah</title>
		<link>http://blog.sqlauthority.com/2010/06/21/sql-server-transaction-dml-and%c2%a0schema%c2%a0locks/#comment-77185</link>
		<dc:creator><![CDATA[Aasim Abdullah]]></dc:creator>
		<pubDate>Mon, 21 Jun 2010 17:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9269#comment-77185</guid>
		<description><![CDATA[When i placed &quot;Truncate Table &quot; in place of &quot;CREATE PROCEDURE mySP&quot; in first session, it didn&#039;t lock my schema ,whom the table belongs to.

If Truncate Table is a DDL statement, why its behaving like this. But when i executed Drop Table or Create Table , schema locking occurring normally.]]></description>
		<content:encoded><![CDATA[<p>When i placed &#8220;Truncate Table &#8221; in place of &#8220;CREATE PROCEDURE mySP&#8221; in first session, it didn&#8217;t lock my schema ,whom the table belongs to.</p>
<p>If Truncate Table is a DDL statement, why its behaving like this. But when i executed Drop Table or Create Table , schema locking occurring normally.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naresh R. Shriramoju</title>
		<link>http://blog.sqlauthority.com/2010/06/21/sql-server-transaction-dml-and%c2%a0schema%c2%a0locks/#comment-77119</link>
		<dc:creator><![CDATA[Naresh R. Shriramoju]]></dc:creator>
		<pubDate>Mon, 21 Jun 2010 06:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9269#comment-77119</guid>
		<description><![CDATA[It&#039;s good to understand transaction.

Thnks lot.]]></description>
		<content:encoded><![CDATA[<p>It&#8217;s good to understand transaction.</p>
<p>Thnks lot.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
