<?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; Interview Questions and Answers &#8211; Frequently Asked Questions &#8211; Day 14 of 31</title>
	<atom:link href="http://blog.sqlauthority.com/2011/07/14/sql-server-interview-questions-and-answers-frequently-asked-questions-day-14-of-31/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2011/07/14/sql-server-interview-questions-and-answers-frequently-asked-questions-day-14-of-31/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 17 May 2013 15:26:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Saurav</title>
		<link>http://blog.sqlauthority.com/2011/07/14/sql-server-interview-questions-and-answers-frequently-asked-questions-day-14-of-31/#comment-401744</link>
		<dc:creator><![CDATA[Saurav]]></dc:creator>
		<pubDate>Mon, 31 Dec 2012 07:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13344#comment-401744</guid>
		<description><![CDATA[How to insert a value into the Identity field?]]></description>
		<content:encoded><![CDATA[<p>How to insert a value into the Identity field?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2011/07/14/sql-server-interview-questions-and-answers-frequently-asked-questions-day-14-of-31/#comment-202852</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 23 Nov 2011 11:08:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13344#comment-202852</guid>
		<description><![CDATA[It depends on the availability of the indices and how you have written the code. Post table structures and the exact query you have used]]></description>
		<content:encoded><![CDATA[<p>It depends on the availability of the indices and how you have written the code. Post table structures and the exact query you have used</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Puneet Sharma</title>
		<link>http://blog.sqlauthority.com/2011/07/14/sql-server-interview-questions-and-answers-frequently-asked-questions-day-14-of-31/#comment-198598</link>
		<dc:creator><![CDATA[Puneet Sharma]]></dc:creator>
		<pubDate>Fri, 18 Nov 2011 14:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13344#comment-198598</guid>
		<description><![CDATA[Hi Pinal, 
I have an issue with TRY... CATCH. 
Iam a developer and for delivery I have a query script which contains scripts of multiple objects like Creation of Stored Proc, Table, Indexes etc. where I first check for existence of object and if exist already I drop it and then I create it from the script. There is one table in which I insert data (which was supposed to be there in the client database but it is not). 
Now here is my problem:
In TRY block when I insert data in that table control doesn&#039;t goes to the CATCH block instead control jumps out of the END statement of the whole block. Below is the example 
BEGIN
  BEGIN TRY
     INSERT INTO table1 (col1, col2) VALUES(&#039;val1&#039;,&#039;val2&#039;)
     INSERT INTO table1 (col1, col2) VALUES(&#039;val3&#039;,&#039;val4&#039;)
  END TRY 
  BEGIN CATCH 
          ---------- Exception handling. 
  END CATCH
END  &lt;--- 
              &#124;  control jumps after this END statemen instead of going into the 
CATCH block.

Any help would be much appreciated.
Thanks
Puneet]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
I have an issue with TRY&#8230; CATCH.<br />
Iam a developer and for delivery I have a query script which contains scripts of multiple objects like Creation of Stored Proc, Table, Indexes etc. where I first check for existence of object and if exist already I drop it and then I create it from the script. There is one table in which I insert data (which was supposed to be there in the client database but it is not).<br />
Now here is my problem:<br />
In TRY block when I insert data in that table control doesn&#8217;t goes to the CATCH block instead control jumps out of the END statement of the whole block. Below is the example<br />
BEGIN<br />
  BEGIN TRY<br />
     INSERT INTO table1 (col1, col2) VALUES(&#8216;val1&#8242;,&#8217;val2&#8242;)<br />
     INSERT INTO table1 (col1, col2) VALUES(&#8216;val3&#8242;,&#8217;val4&#8242;)<br />
  END TRY<br />
  BEGIN CATCH<br />
          &#8212;&#8212;&#8212;- Exception handling.<br />
  END CATCH<br />
END  &lt;&#8212;<br />
              |  control jumps after this END statemen instead of going into the<br />
CATCH block.</p>
<p>Any help would be much appreciated.<br />
Thanks<br />
Puneet</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kasikumar</title>
		<link>http://blog.sqlauthority.com/2011/07/14/sql-server-interview-questions-and-answers-frequently-asked-questions-day-14-of-31/#comment-197957</link>
		<dc:creator><![CDATA[kasikumar]]></dc:creator>
		<pubDate>Thu, 17 Nov 2011 20:42:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13344#comment-197957</guid>
		<description><![CDATA[sir,
This is Kasikumar,
  I have 50 millions of records.But i can&#039;t  retrieve the whole records quickly.Have you any solution . Please help me]]></description>
		<content:encoded><![CDATA[<p>sir,<br />
This is Kasikumar,<br />
  I have 50 millions of records.But i can&#8217;t  retrieve the whole records quickly.Have you any solution . Please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Complete Downloadable List – Day 0 of 31 Journey to SQLAuthority</title>
		<link>http://blog.sqlauthority.com/2011/07/14/sql-server-interview-questions-and-answers-frequently-asked-questions-day-14-of-31/#comment-148278</link>
		<dc:creator><![CDATA[SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Complete Downloadable List – Day 0 of 31 Journey to SQLAuthority]]></dc:creator>
		<pubDate>Thu, 14 Jul 2011 13:38:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13344#comment-148278</guid>
		<description><![CDATA[[...] on July 14, 2011 at 7:01 am &#124; Reply  SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Day 14 of 31 Journ... [...]]]></description>
		<content:encoded><![CDATA[<p>[...] on July 14, 2011 at 7:01 am | Reply  SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Day 14 of 31 Journ&#8230; [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
