Oct 29, 2002 #1 laado Programmer Oct 17, 2002 35 AU Hi Friends In a Stored procedure when using Select Can i do something like this If tableName.FieldName is 1 Output = Yes else Output = NO Thanks in Advance
Hi Friends In a Stored procedure when using Select Can i do something like this If tableName.FieldName is 1 Output = Yes else Output = NO Thanks in Advance
Oct 29, 2002 1 #2 vganeshbabu Programmer Aug 8, 2002 90 IN U Can use CASE statement inside the select command.. Example Select Name, Case Gender When 'M' then 'Male' Else 'Female End from employee (A star please if this helps u).. Upvote 0 Downvote
U Can use CASE statement inside the select command.. Example Select Name, Case Gender When 'M' then 'Male' Else 'Female End from employee (A star please if this helps u)..