SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 stored procedure
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

noblemfd
Starting Member

Nigeria
38 Posts

Posted - 07/22/2013 :  16:49:20  Show Profile  Reply with Quote
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

Sweden
30281 Posts

Posted - 07/22/2013 :  16:52:50  Show Profile  Visit SwePeso's Homepage  Reply with Quote
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

Nigeria
38 Posts

Posted - 07/22/2013 :  17:46:10  Show Profile  Reply with Quote
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

India
52325 Posts

Posted - 07/23/2013 :  01:45:43  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000