is it possible to use a variable in a query with the IN
clause (a,b,c..z), without getting quotes or conversion
errors?
Answer Posted / guest
You can use a variable as your IN clause, but this requires
that you use the EXEC function to run the statement.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is primary key and example?
How you can minimize the deadlock situation?
What is the full form of dql?
How can we use ConnectorJ JDBC Driver with MS SQL?
What is truncate table?
Why can there be only one clustered index and not more than one?
Explain filtered indexes benefits?
Why it is recommended to avoid referencing a floating point column in the where clause?
What is a heap?
Do you know what are the restrictions that views have to follow?
What is difference between standardization and normalization?
Find columns used in stored procedure?
How can you find out if the current user is a member of the specified microsoft® windows nt® group or microsoft sql server™ role?
What is a non equi join?
What are some examples of schemas?