How can I know what query is executing by by a particural user? (using sp id or any othe way.)
2 5263i have a table #temp1(id, Name groupname ) and record like this 1 R1 S 2 R3 S 3 R2 S 4 R4 D 5 R5 D 6 R6 K 7 R7 K 8 R8 L 9 R9 L 10 R10 L 11 R11 K and i want to display record based on user defind sorting order e.g. 1 R4 D 2 R5 D 3 R6 K 4 R7 K 5 R11 K 6 R1 S 7 R3 S 8 R2 S 9 R8 L 10 R9 L 11 R10 L
8 79839. Write a query to list a new column with the difference in temp of the cities Delhi and Mumbai, Mumbai and Jammu and soon. Consider the following table : City_id City Temp. 1 delhi 40 2 Mumbai 35 3 Jammu 32 4 Pune 18
2 4434One table Test with single column. These are the values in the table a b c d e f g h I need a query (without using any variable) with output as - a b c d f f g h
1 4168Please get the 4 th maximum salary from a table without using any sql keyword (TOP,MAX are mot allowed)
8 13266
When would you use it?
Explain tablesample?
Is the primary key column of a table an index in ms sql server?
what is a sub-report?
Can we insert data into view sql server?
What is the usage of the sign function?
How can you stop stored procedures from recompiling?
What is an execution plan? When would you use it?
what is normalization? Explain different levels of normalization? : Sql server database administration
What is a full text index?
When does the auto update index statistics feature in sql server turn itself on?q) what specific conditions database should meet, before you can bulk copy data into it using bcp?
What is the sql case statement used for?
Can group by and orderby be used together?
What is microsoft sql server?
Mention the 3 ways to get a count of the number of records in a table.