SQL Server Interview Questions
Questions Answers Views Company eMail

What is data source document?

544

Can two tables share the same primary key?

502

Can a table have 2 foreign keys?

501

What is meant by datasource?

514

How do I make a resultset scrollable?

506

Is resultset an interface?

550

What is the meaning of resultset type_scroll_insensitive?

565

What is difference between createstatement and preparedstatement?

543

Which is faster statement or preparedstatement?

528

What is the difference between executequery () and executeupdate ()?

513

What is the return type of executeupdate ()?

519

What is create statement?

529

What program is used to store the data source file?

501

What is a data source file?

497

What is difference statement and preparedstatement?

548


Un-Answered Questions { SQL Server }

How to view existing indexes on an given table using sys.indexes?

594


What is correlated subquery in sql server?

557


What are date and time data types in ms sql server?

526


What is triggers and stored procedures?

512


Explain different types of locks in sql server.

596






You are creating an application where users are asked their gender in the gender combo box you have three options: ‘male’ , ‘female’ and ‘i choose not to disclose’ these options are stored in the table as 1, 0 or null which datatype should you use?

545


List out different types of normalizations in sql server and explain each of them?

555


How to find the login name linked to a given user name?

530


What is full outer join in sql server joins?

565


How do you delete a data source?

541


Why do we need different type of parameter?

548


State the difference between union and union all?

519


How to get a list of table columns using the "sp_columns" stored procedure in ms sql server?

551


What is the maximum number of instances in 32 bit and 64 bit sql server 2012?

528


How do you send email on SQL Server?

580