I want to set column value only if it is not blank.
Here is sample
Declare @Temp Varchar(20)
Update Logins
Set ColValue =
Case When @Temp <> '' Then @Temp Else /* Dont SET Value */ End
Where Code=1
What to write in Else
Part ?
I have multiple columns to update and want to apply condition in only single column
DB : SQL SERVER 2008