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
 Old Forums
 CLOSED - General SQL Server
 Updatign records
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

AskSQLTeam
Ask SQLTeam Question

USA
0 Posts

Posted - 12/07/2004 :  08:34:14  Show Profile  Visit AskSQLTeam's Homepage
Tony Ozo writes "I would like to update current records in my table with records totaling 200. What would be the right syntax for the update to overwrite the existing records instead of appending to it. Thanks for your help."

spirit1
Cybernetic Yak Master

Slovenia
11750 Posts

Posted - 12/07/2004 :  09:12:52  Show Profile  Visit spirit1's Homepage
?????? i have no idea what are you asking....

update MyTable
set column1 = 200


Go with the flow & have fun! Else fight the flow
Go to Top of Page

jen
Flowing Fount of Yak Knowledge

Sweden
4110 Posts

Posted - 12/07/2004 :  20:54:33  Show Profile  Send jen a Yahoo! Message
i think he wants to update the 200 records.

like what spirit said,

update tablename
set field1=value1
where 'your criteria here'

--------------------
keeping it simple...
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 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