Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

updating columns

Status
Not open for further replies.

bluebytez

Programmer
Dec 20, 2001
39
MY
hi, i am trying to update 30 columns in a table but it's a hassle typing all the 30 column names in the update statement, is there a way to loop thru the column names ? the column names are col001 ... col030
thanks for the effort !
 
iv'e just scripted out the table and the copied the filed names back into to the procedure. no very efficient, but at 3am and it has to be done before 5 ... it has saved me from some typoes here and there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top