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
How to define and use table alias names in ms sql server?
What will be query used to get the list of triggers in a database?
What is forward - only cursors / read only cursor?
Where is trigger in sql server?
Disadvantages of the indexes?
How can you insert null values in a column while inserting the data?
What are the properties of the relational tables?
Can an automatic recovery be initiated by a user?
Do you know what is openxml in sql server?
How to check parameter value in stored procedure sql server?
Why do we use stored procedures in sql server?
What is the Main Difference between ACCESS and SQL SERVER?
Explain powershell included in sql server 2008?
What is scrollable cursor?
Is sql server is free?