SQL Server Interview Questions
Questions Answers Views Company eMail

What is the Difference Between Primary and Foreign Key?

Accenture, Deloitte, JPMorgan Chase, Maveric,

793

What are the differences between DDL, DML and DCL in SQL?

ABB, Aspire, Infogain,

971

What does REVERT do in SQL Server 2005?

HCL,

745

If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?

Facebook,

747

how would you write a sql query to compute a frequency table of a certain attribute involving two joins? What changes would you need to make if you want to order by or group by some attribute? What would you do to account for nulls?

Facebook,

1394

how would you improve etl (extract, transform, load) throughput?

LinkedIn,

800

define and explain the differences between clustered and non-clustered indexes.

Microsoft,

877

what are the different ways to return the rowcount of a table?

Microsoft,

771

what is datawarehouse?

Informatica,

867

We are updating a field in sql and alter the row also.after giving the commit command the system is crashed.what will happen to the commands given,whether it will update and alter the table or not?

Amdocs, Apps Associates,

1145

how will add additional conditions in sql?

Amdocs, Apps Associates,

770

What are SSL and TSL protocols?

Wipro,

766

What is the difference between Normalization and De-normalization?

TCS,

818

What does COMMIT command do?

Amdocs,

809

Write a program to fetch first 10 records from a file?

Amdocs,

801


Un-Answered Questions { SQL Server }

How you can find out if an index is useful to the optimizer?

684


What is the use of partition by in sql server?

704


Define magic tables in sql server?

783


Can you get second highest salary from the table?

751


What is the difference between dbcc indexdefrag and dbcc reindex?

739


What extended events?

799


whats the maximum size of view state??

1928


Is it possible to have clustered index on separate drive from original table location?

707


Write a sql query to display the current date?

865


If a table does not have a unique index, can a cursor be opened on it?

697


How to find the version of sql server? : sql server database administration

851


What is a constant or literal in ms sql server?

826


What is the importance of three tier architecture?

861


Do you know what are the differences between lost updates and uncommitted dependencies?

775


How you can get the list of largest tables in a database?

714