is it possible to use a variable in a query with the IN
clause (a,b,c..z), without getting quotes or conversion
errors?
Answers were Sorted based on User's Feedback
Answer / 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 |
List the different index configurations possible for a table?
Is null vs coalesce?
How do you persist objects, permissions in tempdb
How to generate create function script on an existing function?
We need to perform what steps in the following order to work with a cursor?
find 2nd highest salary of person using cursor concept?
What is a result set object returned by odbc_exec()?
What the different types of Replication and why are they used?
List out the differences between global and local temp tables in sql server?
Can you explain the types of Joins that we can have with Sql Server?
Can we use pragma autonomous_transaction in trigger?
What are constraints in microsoft sql server?