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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.