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.
| Author |
Topic |
|
Swati Jain
Posting Yak Master
139 Posts |
Posted - 2006-09-18 : 03:07:42
|
| Is it posible to update all rows at the same time? how?suppose i want the value of rows column 'Marks' set to zero at oncehow i can do that?Swati |
|
|
chiragkhabaria
Master Smack Fu Yak Hacker
1907 Posts |
Posted - 2006-09-18 : 03:09:53
|
| Somthing like this Update TableName Set Marks = 0 ???Chirag |
 |
|
|
aida
Starting Member
5 Posts |
Posted - 2006-09-18 : 23:40:46
|
U just try as Chirag said.It's the simple way to set the field as zero.Update Exam set Marks='0' Exam = Your table NameMarks = field to updateIf Marks field is int (number) just do like this : Marks=0else (char / varchar) just do like this : Marks='0'quote: Originally posted by chiragkhabaria Somthing like this Update TableName Set Marks = 0 ???Chirag
|
 |
|
|
|
|
|