| Other SQL Server Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the use of placing primary key and foreign key
constrains on columns. | Value-Labs | 2 |
| What is WITH CHECK OPTION | Karur-Vysya-Bank-KVB | 2 |
| system date format is "yy-mm-dd"
"select getdate()" ----> 2009-01-24 20:03:28.513
if i write "select dateadd(dd,2,getdate())
".it returns "2009-01-26 19:59:38.340"...my question is dat
could it be possible to retrive da date in da format "26
jan 2009 ...."??
| | 8 |
| syntax for deleting the database in T SQL | | 4 |
| write the query for taking database backup in sql | Logica-CMG | 4 |
| What is a Lock and let me know Different types of locks? | | 1 |
| How can count the string ?
for ex: If i have string like 'bhaskar' then i need like
b:1
h:1
a:2
s:1
k:1
r:1
please give any idea on that
| TCS | 5 |
| What is the difference between having and where clause? | | 4 |
| What are the four main query statements? | | 3 |
| Delete duplicate rows from a table without primary key by
using a single query
Table Employee
empname salary
A 200
B 300
A 200
C 400
D 500
D 500
Output should be
A 200
B 300
C 400
D 500
| | 1 |
| What are the authentication modes in SQL Server? | | 2 |
| what is the Surrogate key?and wt is the diff between Primary
key and Surrogate Key? | | 2 |
| Is it possible to create tables in stored procedures using
a variable for the table name? | | 2 |
| Can store procedure call by user define function in SQL
server? | HCL | 5 |
| what purpose does OPENXML clause have in sql server stored
procedure? | | 1 |
| Can you create UNIQUE and PRIMARY KEY constraints on
computed columns in SQL Server 2000? | Infosys | 1 |
| What is the purpose of UPDATE STATISTICS? | | 1 |
| What types of integrity are enforced by a foreign-key
constraint
| | 1 |
| can we call stored Procedure in Function in Sql Server 2000
and vice versa. | eSoft | 2 |
| Can you give an example of Stored Procedure? | | 2 |
| |
| For more SQL Server Interview Questions Click Here |