Wednesday, January 17, 2018

Solved! -Convert INT value to String and Check for Null


@IntValueas Integer = null

cast (ISNUll(@IntValue,'0') as varchar)

No comments:

Post a Comment

Recently Executed queries

 SELECT     txt.TEXT AS [SQL Statement],     qs.EXECUTION_COUNT [No. Times Executed],     qs.LAST_EXECUTION_TIME AS [Last Time Executed],   ...