SQL Server Interview Questions
Questions Answers Views Company eMail

What is the Difference Between Primary and Foreign Key?

Accenture, Deloitte, JPMorgan Chase, Maveric,

579

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

ABB, Aspire, Infogain,

750

What does REVERT do in SQL Server 2005?

HCL,

546

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,

543

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,

1086

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

LinkedIn,

530

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

Microsoft,

588

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

Microsoft,

568

what is datawarehouse?

Informatica,

642

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,

897

how will add additional conditions in sql?

Amdocs, Apps Associates,

569

What are SSL and TSL protocols?

Wipro,

576

What is the difference between Normalization and De-normalization?

TCS,

551

What does COMMIT command do?

Amdocs,

619

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

Amdocs,

596


Un-Answered Questions { SQL Server }

How to find the second highest salary of an employee?

580


How to test a dml trigger in ms sql server?

567


What is a raid and what are different types of raid configurations?

613


Can two tables share a primary key?

507


Can coalesce return null?

530






What command is used to create a database in the sql server and how?

594


What are statistics?

562


What number sorts of privileges are accessible in sql?

591


Your company has 50 branches all over the country all the branches, including the head office have sql server as the database every night all 50 branches upload certain information to the head office which replication topology is best suited for the above scenario?

615


List the ways in which dynamic sql can be executed?

630


What is difference between foreign key and unique key?

541


what's the maximum size of a row? : Sql server database administration

534


How to recreate an existing index in ms sql server?

538


What is DCL?

583


What is schemabinding a view?

513