2 December 2011

Check String is Null or Empty in Sql Server


Check String is Null or Empty in Sql Server

  if LTRIM(RTRIM(@Condition))<>'' and (@Condition IS NOT NULL)
  begin
 
  end
  else
 
  begin
 
  end


No comments:

Post a Comment

Comments Welcome

Implementing OAuth validation in a Web API

 I mplementing OAuth validation in a Web API Implementing OAuth validation in a Web API using C# typically involves several key steps to sec...