<?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; @@IDENTITY vs SCOPE_IDENTITY() vs IDENT_CURRENT &#8211; Retrieve Last Inserted Identity of Record</title>
	<atom:link href="http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sandhya P</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-57197</link>
		<dc:creator>Sandhya P</dc:creator>
		<pubDate>Sat, 31 Oct 2009 04:47:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-57197</guid>
		<description>Hello,

I have the same question like raksha posted 
on July 9, 2007 at 2:07 am

Can you please help us?

Thanks and Regards,
Sandhya P.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I have the same question like raksha posted<br />
on July 9, 2007 at 2:07 am</p>
<p>Can you please help us?</p>
<p>Thanks and Regards,<br />
Sandhya P.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Tkatch</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-57105</link>
		<dc:creator>Brian Tkatch</dc:creator>
		<pubDate>Wed, 28 Oct 2009 13:23:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-57105</guid>
		<description>@Ieuan0928

Could you post the scenario please. That is odd that id did not work.</description>
		<content:encoded><![CDATA[<p>@Ieuan0928</p>
<p>Could you post the scenario please. That is odd that id did not work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ieuan0928</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-57091</link>
		<dc:creator>Ieuan0928</dc:creator>
		<pubDate>Wed, 28 Oct 2009 03:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-57091</guid>
		<description>I&#039;m convinced with the use of SCOPE_IDENTITY until one scenario i found out that SCOPE_IDENTITY doesn&#039;t return the desired value if Instead of Triggers is implemented on the desired table.

But luckily, the @@IDENTITY works with that way.

However, still can&#039;t understand the logic behind the scenario.


(Scenario Notes:)

INSTEAD OF TRIGGERS =&gt; checks the other tables in terms of required data, then, reinserts all fields with updated data.</description>
		<content:encoded><![CDATA[<p>I&#8217;m convinced with the use of SCOPE_IDENTITY until one scenario i found out that SCOPE_IDENTITY doesn&#8217;t return the desired value if Instead of Triggers is implemented on the desired table.</p>
<p>But luckily, the @@IDENTITY works with that way.</p>
<p>However, still can&#8217;t understand the logic behind the scenario.</p>
<p>(Scenario Notes:)</p>
<p>INSTEAD OF TRIGGERS =&gt; checks the other tables in terms of required data, then, reinserts all fields with updated data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chucksterlicious</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-56570</link>
		<dc:creator>Chucksterlicious</dc:creator>
		<pubDate>Fri, 09 Oct 2009 21:09:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-56570</guid>
		<description>I think it&#039;s important to note here that while @@IDENTITY and SCOPE_IDENTITY() appear to work the same in the context of the same scope, that only @@IDENTITY will work if you happen to be trying to reference the current identity value within the same insert statement that is creating the IDENTITY value.  SCOPE_IDENTITY() will return a NULL value in this case.  I know you will ask why you would ever want to do this, but i just had a case where i had to do this and SCOPE_IDENTITY() did not work.</description>
		<content:encoded><![CDATA[<p>I think it&#8217;s important to note here that while @@IDENTITY and SCOPE_IDENTITY() appear to work the same in the context of the same scope, that only @@IDENTITY will work if you happen to be trying to reference the current identity value within the same insert statement that is creating the IDENTITY value.  SCOPE_IDENTITY() will return a NULL value in this case.  I know you will ask why you would ever want to do this, but i just had a case where i had to do this and SCOPE_IDENTITY() did not work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chenji</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-56462</link>
		<dc:creator>Chenji</dc:creator>
		<pubDate>Tue, 06 Oct 2009 07:26:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-56462</guid>
		<description>Following SQL Query is to get the LAST INSERTED ID if the column is auto increment using iBatis and SQL SERVER.



-- your insert statement

select @@IDENTITY as value


</description>
		<content:encoded><![CDATA[<p>Following SQL Query is to get the LAST INSERTED ID if the column is auto increment using iBatis and SQL SERVER.</p>
<p>&#8211; your insert statement</p>
<p>select @@IDENTITY as value</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-56070</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Wed, 23 Sep 2009 00:03:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-56070</guid>
		<description>You saved me again.  Your posts always provide better explanations than MS</description>
		<content:encoded><![CDATA[<p>You saved me again.  Your posts always provide better explanations than MS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cp</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-55916</link>
		<dc:creator>cp</dc:creator>
		<pubDate>Wed, 16 Sep 2009 13:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-55916</guid>
		<description>Thanks much, Pinal!!</description>
		<content:encoded><![CDATA[<p>Thanks much, Pinal!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mathias</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-55886</link>
		<dc:creator>mathias</dc:creator>
		<pubDate>Tue, 15 Sep 2009 11:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-55886</guid>
		<description>Pinal,

This is very good, thank you very much

mathias</description>
		<content:encoded><![CDATA[<p>Pinal,</p>
<p>This is very good, thank you very much</p>
<p>mathias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Sebastian</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-55814</link>
		<dc:creator>Jacob Sebastian</dc:creator>
		<pubDate>Fri, 11 Sep 2009 13:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-55814</guid>
		<description>@Sachin Kalra
If proc A calls B and B calls C - Everything in all the 3 procedures are in the same session.

However, the SCOPE of a piece of code in PROC C will be limited only to that procedure (C). But it will be in the same session as A and B</description>
		<content:encoded><![CDATA[<p>@Sachin Kalra<br />
If proc A calls B and B calls C &#8211; Everything in all the 3 procedures are in the same session.</p>
<p>However, the SCOPE of a piece of code in PROC C will be limited only to that procedure (C). But it will be in the same session as A and B</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sachin Kalra</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-55810</link>
		<dc:creator>Sachin Kalra</dc:creator>
		<pubDate>Fri, 11 Sep 2009 10:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-55810</guid>
		<description>hello


would like to know the difference in terminology current session and current scope. Thanks in advance.</description>
		<content:encoded><![CDATA[<p>hello</p>
<p>would like to know the difference in terminology current session and current scope. Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul Bhargava</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-55709</link>
		<dc:creator>Rahul Bhargava</dc:creator>
		<pubDate>Tue, 08 Sep 2009 13:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-55709</guid>
		<description>Hello All,
I wish to fetch last record from a table in sql server 2005 without using any group by or stored procedure is it possible</description>
		<content:encoded><![CDATA[<p>Hello All,<br />
I wish to fetch last record from a table in sql server 2005 without using any group by or stored procedure is it possible</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cubaman</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-55523</link>
		<dc:creator>cubaman</dc:creator>
		<pubDate>Wed, 02 Sep 2009 13:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-55523</guid>
		<description>Prateek:
Do a loop inside every insert. In that way, you&#039;ll be able to retrieve SCOPE_IDENTITY() after each insert

loop:
begin
 Insert 1
  loop:
   Insert2
    loop:
     begin
      Insert3
     end
  begin
  end
end</description>
		<content:encoded><![CDATA[<p>Prateek:<br />
Do a loop inside every insert. In that way, you&#8217;ll be able to retrieve SCOPE_IDENTITY() after each insert</p>
<p>loop:<br />
begin<br />
 Insert 1<br />
  loop:<br />
   Insert2<br />
    loop:<br />
     begin<br />
      Insert3<br />
     end<br />
  begin<br />
  end<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pubudu Gayan</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-54046</link>
		<dc:creator>Pubudu Gayan</dc:creator>
		<pubDate>Fri, 24 Jul 2009 05:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-54046</guid>
		<description>I have problem regarding this three 

I have created sp for insert values in to three tables.  Those three tables are like steps 1st table’s primary key keeps second table and second table primary key keeps the third table.  Please follow following example to more clarification 
insert  Table 1  set ID1=SCOPE_IDENTITY()
Cursor for table 2 
	Insert  table2  (foreign key ID1 ) SET ID2= SCOPE_IDENTITY()
		Cursor for table 3
			Insert  table3  (foreign key ID3 ) SET ID2= SCOPE_IDENTITY()
		END CURESOR 3
END CURESOR 2

Can I used Scope_Identity() for this scenario or any other solutions are welcome. Thanks for your advance reply.</description>
		<content:encoded><![CDATA[<p>I have problem regarding this three </p>
<p>I have created sp for insert values in to three tables.  Those three tables are like steps 1st table’s primary key keeps second table and second table primary key keeps the third table.  Please follow following example to more clarification<br />
insert  Table 1  set ID1=SCOPE_IDENTITY()<br />
Cursor for table 2<br />
	Insert  table2  (foreign key ID1 ) SET ID2= SCOPE_IDENTITY()<br />
		Cursor for table 3<br />
			Insert  table3  (foreign key ID3 ) SET ID2= SCOPE_IDENTITY()<br />
		END CURESOR 3<br />
END CURESOR 2</p>
<p>Can I used Scope_Identity() for this scenario or any other solutions are welcome. Thanks for your advance reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nitin Gautam</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-53348</link>
		<dc:creator>Nitin Gautam</dc:creator>
		<pubDate>Tue, 30 Jun 2009 09:11:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-53348</guid>
		<description>None of the above is compatible with HSQLDB.
What if we want to junit the MSSQL DAOs using HSQLDB in memory DB?

How can we make the query compatible with both SQLServer and HSQLDB??</description>
		<content:encoded><![CDATA[<p>None of the above is compatible with HSQLDB.<br />
What if we want to junit the MSSQL DAOs using HSQLDB in memory DB?</p>
<p>How can we make the query compatible with both SQLServer and HSQLDB??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Tkatch</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-53327</link>
		<dc:creator>Brian Tkatch</dc:creator>
		<pubDate>Mon, 29 Jun 2009 14:58:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-53327</guid>
		<description>@Dnyaneshwar

What is not working about @@IDENTITY? Please give an example of what you are trying, and what you expected.</description>
		<content:encoded><![CDATA[<p>@Dnyaneshwar</p>
<p>What is not working about @@IDENTITY? Please give an example of what you are trying, and what you expected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dnyaneshwar</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-53308</link>
		<dc:creator>Dnyaneshwar</dc:creator>
		<pubDate>Mon, 29 Jun 2009 04:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-53308</guid>
		<description>@@IDENTITY is not working on SQL server 2005.
Why it is not working?
thnks.</description>
		<content:encoded><![CDATA[<p>@@IDENTITY is not working on SQL server 2005.<br />
Why it is not working?<br />
thnks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gsej</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-53235</link>
		<dc:creator>gsej</dc:creator>
		<pubDate>Wed, 24 Jun 2009 15:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-53235</guid>
		<description>Dave, 

I read recently about a bug which could result in scope_identity() returning the wrong value. Do you know if this issue is still outstanding, and if so, should we avoid scope_identity(), or is it possible to mitigate the problem in some way?

The issue is described here:

https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=328811</description>
		<content:encoded><![CDATA[<p>Dave, </p>
<p>I read recently about a bug which could result in scope_identity() returning the wrong value. Do you know if this issue is still outstanding, and if so, should we avoid scope_identity(), or is it possible to mitigate the problem in some way?</p>
<p>The issue is described here:</p>
<p><a href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=328811" rel="nofollow">https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=328811</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Minal</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-52966</link>
		<dc:creator>Minal</dc:creator>
		<pubDate>Fri, 12 Jun 2009 07:10:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-52966</guid>
		<description>how to get identity value of last updated record?</description>
		<content:encoded><![CDATA[<p>how to get identity value of last updated record?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandre Bizarro</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-52492</link>
		<dc:creator>Alexandre Bizarro</dc:creator>
		<pubDate>Wed, 27 May 2009 20:39:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-52492</guid>
		<description>Tku....
very smart!</description>
		<content:encoded><![CDATA[<p>Tku&#8230;.<br />
very smart!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sanna</title>
		<link>http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-52303</link>
		<dc:creator>sanna</dc:creator>
		<pubDate>Sun, 24 May 2009 08:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/03/25/identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/#comment-52303</guid>
		<description>hello .. 
i am trying to make a sp how looks something like this,
what i want is to be able to get 2tables to create a new customer. .. i dosent work.. can you help me???


@Namn varchar(40),
@Adress varchar(50),
@Postnr varchar(6),
@Beskrivning varchar(max),
@Erbjudande varchar(max),
@kontaktUppgift varchar(30),
@CafeId int


AS
BEGIN
	SET NOCOUNT ON;
	
	BEGIN TRAN
			declare @CafeId int
		BEGIN TRY
		
		INSERT INTO app.Cafe(Namn, Adress, PostNr, Beskrivning, Erbjudande)
			      VALUES(@Namn, @Adress,@Postnr,@Beskrivning,@Erbjudande) 
				
				Insert into app.Kontakt ( kontaktUppgift , CafeID)
				values( @kontaktUppgift,@CafeId)
	
	       SET @CafeId = SCOPE_IDENTITY();
	       
   COMMIT TRAN	
		END TRY
		
		BEGIN CATCH	
			--Återställer till innan begin tran
			ROLLBACK TRAN
			RAISERROR(&#039;fel i överföringen.&#039; ,16,1)
		END CATCH
END</description>
		<content:encoded><![CDATA[<p>hello ..<br />
i am trying to make a sp how looks something like this,<br />
what i want is to be able to get 2tables to create a new customer. .. i dosent work.. can you help me???</p>
<p>@Namn varchar(40),<br />
@Adress varchar(50),<br />
@Postnr varchar(6),<br />
@Beskrivning varchar(max),<br />
@Erbjudande varchar(max),<br />
@kontaktUppgift varchar(30),<br />
@CafeId int</p>
<p>AS<br />
BEGIN<br />
	SET NOCOUNT ON;</p>
<p>	BEGIN TRAN<br />
			declare @CafeId int<br />
		BEGIN TRY</p>
<p>		INSERT INTO app.Cafe(Namn, Adress, PostNr, Beskrivning, Erbjudande)<br />
			      VALUES(@Namn, @Adress,@Postnr,@Beskrivning,@Erbjudande) </p>
<p>				Insert into app.Kontakt ( kontaktUppgift , CafeID)<br />
				values( @kontaktUppgift,@CafeId)</p>
<p>	       SET @CafeId = SCOPE_IDENTITY();</p>
<p>   COMMIT TRAN<br />
		END TRY</p>
<p>		BEGIN CATCH<br />
			&#8211;Återställer till innan begin tran<br />
			ROLLBACK TRAN<br />
			RAISERROR(&#8216;fel i överföringen.&#8217; ,16,1)<br />
		END CATCH<br />
END</p>
]]></content:encoded>
	</item>
</channel>
</rss>
