SQL Server Interview Questions
Questions Answers Views Company eMail

Following are some of the question related to below mentioned query? select e1.salary from employee3 e1 where 2= ( select count(distinct(e2.salary)) from employee3 e2 where e2.salary>=e1.salary ) 1) What the query returns? 2) How it works? - Detail explanation (what the sub query does, why it is (where 2=)....etc...Please?

5 3336

Hello all, I have data like :- year amt 2004 10 2005 20 2006 30 Now i want output as:- 2004 2005 2006 10 30 60 but i have to use here group by on year.So, i need a single query within that i can find.

3 2844

how to rest identity columns in sql server

Matrix,

3 9050




i have a table student like sname ----- ram ram ram raj raj raj i need the output like sname ----- ram raj ram raj ram raj

IBM,

9 7437

What is normalization in Database ?

4 6363

Display a roll having miminum marks in two subjects?

Patni,

7 4563

Wht is SQL Injection Attack ?

3 4639

how to change column into row in sql

ESS,

4 11121




What are the advantages of using sql server over ms access or why should one use sql instead of ms access

Impetus, CMS,

2 10547

How to write the storeprocedure with in the store procedure? and how can we write the store procedure with in a trigger vice versa? plz post me the exact answer?

ABC,

1222

How To Find That One Week Change in My DataBase we Have Done Like We Have A database Test I Change Table,Stored Procd. Then I Find Which SP,Table We Have Edit/Change in Seven Dayes

INDUS,

1 1835

how many types of store procedre in sqlserver 2000?

ATI,

2 3378

what is the importence of the trigger in sqlserver2000?

ATI,

1 2547

WHAT IS TRIGGERS IN SQL? AND WHAT IS THE BENIFIT?

8 17398

i use few third party softwares. they r all having their own databases . but the data is repeated in all these databases - say a person is in all the three databases, but his name is stoared in diff format in all databases i want to create a centralised database ,and i dont want to re-enter the records . using the exisating records how can i build a centralised database?

Fidelity,

1 1099


Post New SQL Server Questions






Un-Answered Questions { SQL Server }

role of sql sever 2005 in database rather than any other database

856


what are the Prerequisites for Replication?

8344


hi, how to link a text file and a .rpt file in my tables of sql server and to retrieve those records for further use. reply me as soon as possible.

749


what are questions asked in TCS for database tester (sqlserver)for 2-3 exp?

4724


what is checksum in sql server.........???

358






How do I repair damaged sql server mdf file database? In previous day my mdf file has got damage due to unknown reasons then I used dbcc chekcdb command but it failed, MDF file is important for me, I don’ know that how to get back mdf file data. Please anyone suggest me?

589


what’s the difference between Covering Indexes and Clustered Indexes ? how to use clustered index small ?

831


what is isolation level at dead lock?

988


Why we need to use secondry database file? though, we can do same work using primary database file also.

4176


Hi all, can any one please tell me the difference between sql server 2008 and orace 9i

772


code to create procedure for taking databse backup in sql server or i have the query for it but what it's query returns means i want to show on my jsp that the databse backup has been taken on the basis of that return value.does it returns 0 or 1.wat is the code for that

1017


where the connection string store in the database

790


New concepts of sql server 2005 use in your project.

1211


What is the difference between online clustering and Offline clustering?

1197


tell me the disaster recovery plan

1261