Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 stored procedure

Author  Topic 

noblemfd
Starting Member

38 Posts

Posted - 2013-07-22 : 16:49:20
Hi please how do I write to and update a table (not temporary table) using stored procure.

Table name: tblItem

Thanks

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2013-07-22 : 16:52:50
You can either INSERT new data, or edit existing data with UPDATE.



Microsoft SQL Server MVP, MCT, MCSE, MCSA, MCP, MCITP, MCTS, MCDBA
Go to Top of Page

noblemfd
Starting Member

38 Posts

Posted - 2013-07-22 : 17:46:10
quote:
Originally posted by SwePeso

You can either INSERT new data, or edit existing data with UPDATE.



Microsoft SQL Server MVP, MCT, MCSE, MCSA, MCP, MCITP, MCTS, MCDBA




how?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-07-23 : 01:45:43
INSERT (for inserting new data)
http://msdn.microsoft.com/en-us/library/ms174335.aspx

UPDATE(for modifying existing data)

http://msdn.microsoft.com/en-us/library/ms177523.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -