P
pamelafluente
In case I had a parametric query
SELECT Name, Phone from MyFriends WHERE MyFriends.city = @CITY
is it possible to specify a string value for @CITY in order to have
the query to behave exacly like :
SELECT Name, Phone from MyFriends ??
In other word, if this is possible, what is the parameter value which
would correspond to eliminate the WHERE condition ?
Or do I have necessary to remove the "where" part?
-P
SELECT Name, Phone from MyFriends WHERE MyFriends.city = @CITY
is it possible to specify a string value for @CITY in order to have
the query to behave exacly like :
SELECT Name, Phone from MyFriends ??
In other word, if this is possible, what is the parameter value which
would correspond to eliminate the WHERE condition ?
Or do I have necessary to remove the "where" part?
-P