<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>DotNetKicks.com : Stories kicked by abhishek1125</title>
    <description>Stories kicked by abhishek1125</description>
    <link>http://www.dotnetkicks.com/</link>
    <language>en-us</language>
    <copyright>Atweb Publishing Ltd.</copyright>
    <docs>http://backend.userland.com/rss</docs>
    <generator>DotNetKicks.com - .NET links, community driven</generator>
    <ttl>30</ttl>
    <item>
      <title>SCOPE_IDENTITY() return the id from the database on insert</title>
      <description>As a .NET programmer most of my time is spent coding in C# and I try to avoid writing SQL where possible. Recently I had to write an insert stored procedure and needed to return the ID of the row I was inserting. While writing my usual bad SQL I came across a fascinating function I've never used before, SCOPE_IDENTITY(). &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.objectreference.net%2fpost%2fSCOPE_IDENTITY()-return-the-id-from-the-database-on-insert.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.objectreference.net%2fpost%2fSCOPE_IDENTITY()-return-the-id-from-the-database-on-insert.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/database/SCOPE_IDENTITY_return_the_id_from_the_database_on_insert</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/database/SCOPE_IDENTITY_return_the_id_from_the_database_on_insert</guid>
      <pubDate>Fri, 23 May 2008 16:16:03 GMT</pubDate>
    </item>
  </channel>
</rss>