﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Administering / SQL Server 2005  / Store Procedure to update / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 19 May 2013 07:10:10 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Store Procedure to update</title><link>http://www.sqlservercentral.com/Forums/Topic527094-146-1.aspx</link><description>thanks now if i have another table name empadd where i have to update at the same time and whose fields areEaddID    address     empid  1          abc            1  2          asd            2then what will be the changehere empid of empadd is foreign key of the table emplyee</description><pubDate>Wed, 02 Jul 2008 05:09:55 GMT</pubDate><dc:creator>pulak_mca</dc:creator></item><item><title>RE: Store Procedure to update</title><link>http://www.sqlservercentral.com/Forums/Topic527094-146-1.aspx</link><description>Yes. </description><pubDate>Wed, 02 Jul 2008 04:42:33 GMT</pubDate><dc:creator>Suresh B.</dc:creator></item><item><title>RE: Store Procedure to update</title><link>http://www.sqlservercentral.com/Forums/Topic527094-146-1.aspx</link><description>thanks if the empid is automatically generated no then is it same</description><pubDate>Wed, 02 Jul 2008 04:28:25 GMT</pubDate><dc:creator>pulak_mca</dc:creator></item><item><title>RE: Store Procedure to update</title><link>http://www.sqlservercentral.com/Forums/Topic527094-146-1.aspx</link><description>Example:[code]create procedure spEmployeeUpdate(@EmpId integer,@Name char(75),@Salary decimal(8, 2))asupdate employee set [name] = @Name, Salary = @Salary where empid = @EmpId[/code]</description><pubDate>Wed, 02 Jul 2008 04:12:40 GMT</pubDate><dc:creator>Suresh B.</dc:creator></item><item><title>Store Procedure to update</title><link>http://www.sqlservercentral.com/Forums/Topic527094-146-1.aspx</link><description>How can i write a store procedure in sql server to update a particular row of a table.   For Example i have a table name Emplyee which have column empid ,name  ,salary. Now the data are asempid           name             salary  1                  a                  1000  2                  b                  2000so how can i update the row of empid of 2</description><pubDate>Wed, 02 Jul 2008 02:34:13 GMT</pubDate><dc:creator>pulak_mca</dc:creator></item></channel></rss>