Skip to Content
1
Former Member
Mar 16, 2015 at 01:36 PM

how to find if incomming parameter in not null and not empty in Sybase

15 Views

@searchstring varchar(500)

If(IsNULLorEmpty(@searchstring))

{ exec(@strexecsql) }

else

{ exec(@strexecsql1) }

what is best way to check this condition IsNULLorEmpty for a incoming @parameter?