In performance wise distinct is good or group by is good? eg:select name from emp group by name; select distinct name from emp;
5 21652If you are working on a SQL database and if suddenly a developer changes the code and your queries results start giving errors,how will you check using a T-SQL query (on system tables) that what has changed in the database.
2 5979
How to sort the query output with order by clauses in ms sql server?
How to use “drop” keyword in sql server and give an example?
Can we shrink data file in sql server?
How can a user-defined datatype be created?
Which sql server table is used to hold the stored procedure script?
How to connect Azure federated root database and apply federation in entity framework?
You have developed an application which uses many stored procedures and triggers to update various tables users ocassionally get locking problems which tool is best suited to help you diagnose the problem?
What is store procedure? How do they work? When do you use?
What is dbcc command in sql server?
Explain concepts of analysis services?
What are parameterized reports? What are cascading parameters in ssrs reports?
Define outer join in sql server joins?
When to use Inner join & when to use subquery?
Do you know what is lock escalation?
Define self join in sql server joins?