How can I know what query is executing by by a particural user? (using sp id or any othe way.)
2 5355i 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 82149. 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 4541One 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 4234Please get the 4 th maximum salary from a table without using any sql keyword (TOP,MAX are mot allowed)
8 13482
Explain about system database?
What are the restrictions while creating batches in sql server?
What are out-of-range errors with date and time literals?
What do you understand by replication in sql server? Mention the different types of replication in sql server.
What do you mean by collation recursive stored procedure?
What is the difference between the export /import functions in sql studio and standalone sql manager? : sql server management studio
Write a query to find 5th highest amount paid from the customer table.
What are pages and extents? : SQL Server Architecture
What are the differences between stored procedure and the dynamic sql?
What is cached report?
Explain foreign key in sql server?
What are scalar functions in sql?
How does using a separate hard drive for several database objects improves performance right away?
How does stuff differ from the replace function?
Why do we use non clustered index?