Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Pls some one tell why we use this condition and what is the meaning of if(@propertyID<>0 and @propertyID<>'''')

i want to know the meaning of <>0


pl some one tell...
Posted

meaning of <>0. it means does not equal to 0
 
Share this answer
 
the purpose of using these two conditions is to check value inside @propertyID is not equal to zero as well as the value @propertyID should not be blank..

It means @propertyID can have values such as 1, -1,2,3 but not 0 or empty string..


Ideally second condtion should be @propertyID<>''
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900