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 |
one table has four field id,name,design,salary. i have to find maximum salary .
How to find the date and time of last updated table?
Explain how dts is used to extract, transform and consolidate data?
What is the difference between ROW_NUMBER and Ranking function in SQL SERVER?
What are the High-Availability solutions in SQL Server and differentiate them briefly?
what is the difference between writing data to mirrored drives versus raid5 drives. : Sql server administration
What different steps will a sql server developer take to secure sql server?
Join 3 tables (table1, table2 & table3) in a single query. Inner join should be applied for table1 & table 2 and left outer join for table1 & table3 where table2.dept is ABC
what do you understand by change data capture?
What is use of attribute hierarchy optimized state? : sql server analysis services, ssas
how can do you the system monitoring?
What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?