| Other SQL Server Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| hi,
i have a table called names and field name
select * from names
name
a
b
c
d
i want to display like this
name
a,b,c,d
how it is possible
Regards
Baiju | | 3 |
| What is lock escalation? | | 1 |
| how to select 5 to 7 rows from a table, which contains 10 rows? | IBM | 14 |
| Write a query to delete duplicate records in SQL SERVER | Infosys | 19 |
| table:employee
EID ENAME MID(manager ids)
101 rama null
102 sita 101
103 siva 101
104 ganesh 103
. . .
. . .
for 103 ID the manager ID is 101(RAMA) and for 104 manager
is SIVA
if i give employee id (EID) you have to tell the manager for
that EID write query?
eample:if i give 102 .The query output should be manager for
102 ID that it should print RAMA as output
| | 5 |
| What is the system function to get the current user's user
id? | TCS | 3 |
| After using delete statement in sql query to delete some
records...to retrieve the deleted records we can get using
rollback command but till that where it stores means
particular location name i need....(after deleting and
rollback ) | iGate | 2 |
| write the query for taking database backup in sql | Logica-CMG | 6 |
| What is SQL Profiler what is the use of it? | 247Customer | 2 |
| What is the difference between a HAVING CLAUSE and a WHERE
CLAUSE? | Yardi-Software | 4 |
| How to find the last update record in SQL Server? | | 3 |
| how to get the automatic backup of the database in the sql
server | | 3 |
| what is the cursor life span? | Evalueserve | 5 |
| what is the difference between sql query and google query? | TCS | 6 |
| What is the difference between truncate and delete statement? | CTS | 4 |
| Which stored procedure will you be running to add a linked
server? | | 1 |
| What's the difference between a primary key and a unique
key? | | 4 |
| What are the types of backup and tell me the difference
between full and differential backup? | TCS | 3 |
| What is a trigger? | | 3 |
| WHAT IS UNIQUE IDENTIFIER DATA TYPE? | Sparsh | 2 |
| |
| For more SQL Server Interview Questions Click Here |