create proc tgarmon @somepararm intasupdate sometableset this1a = case when @someparam = 3 then somevalue1 else this1a end,set this1b = case when @someparam = 3 then somevalue2 else this1b end,set this1c = case when @someparam = 3 then somevalue3 else this1c end,set this2a = case when @someparam = 16 then somevalue4 else this2a end,set this2b = case when @someparam = 16 then somevalue5 else this2b end,set this2c = case when @someparam = 16 then somevalue6 else this2c end,go
Jay<O>EDIT: AAHHHHH!!! I see the problem, your profile says you are a coldfusion programmer. (joke
)Edited by - Jay99 on 03/19/2002 13:56:14