R. K. Wijayaratne
2012-01-30 06:54:41 UTC
Hi everyone,
I would like to select from table Users where the text field
AboutMeText is null or not null based on a passed in flag value
@IsAboutMeTextNotNull. How can this be achieved?
create procedure Search
@IsAboutMeTextNotNull bit
as
select * from Users
where AboutMeText -- ???
I would like to select from table Users where the text field
AboutMeText is null or not null based on a passed in flag value
@IsAboutMeTextNotNull. How can this be achieved?
create procedure Search
@IsAboutMeTextNotNull bit
as
select * from Users
where AboutMeText -- ???