SQL Server Interview Questions
Questions Answers Views Company eMail

1 01 101 01010

1563

Find top Nth employee from each department in terms of salary?

RealPage,

13 21954

How to get last system shutdown time in Sql server when restarted system?

1 8217

How maney row would be print after join if A table have 100 rows and B table have 50 rows...

Hewitt,

9 9496

How will you collect the date from current date to last older 6 days date in sql server 2005

4 4948

how we can store the value like that 001,003,023 etc in sql server 2005

7 7391

Selet all the data from table where last name is n of employee

2 4429

How to find the latest updated value in a table without sending any parameters to that query

2 4674

how to improve the speed of SQL database server and how to avoid dead lock?

TCS,

1 5376

What is the disadvantages of index?

TCS,

3 7342

Hi All, I want to display all duplicate records in the table. My query has to fetch all the records which are duplicate(First Name or Last Name). Also I want the ability to also pull names where there might be a middle initial placed in the end of the first name field, (i.e., "Maria Z. " vs. "Maria") as well. Please guide me to find this. Table: ID FirstName LastName 1 Zach H Hoffman 2 Zach Hoffman 3 Troy Hoffman 4 Shawn Livermore 5 Prem S 6 Jony Hoffman H 7 Zach Modan I need the query to filter......... ID FirstName LastName 1 Zach H Hoffman 2 Zach Hoffman 3 Troy Hoffman 6 Jony Hoffman H 7 Zach Modan I hope this example will give you clear idea..... Thanks in Advance Prem

2 3643

select names starts with a,b,c

Scope International,

8 10745

How to convert a table data in XML format in sql server?

2116

how to do partition in sqlserver

TCS,

1966

can any body tell me how to know the password of current user in sql server

Crea, HCL,

1573


Un-Answered Questions { SQL Server }

What are the mathematical functions supported by sql server 2005?

544


How to change the data type of an existing column with "alter table" statements in ms sql server?

525


What are the different normalization forms?

609


what is a correlated sub-query? : Sql server database administration

480


What is the difference between clustered index and primary key?

500






What is row_number()?

576


Where sql server usernames and passwords are stored in a sql server?

491


You have modified 100 store procedures and want to replicate these changes from development to prodution, and production can have users using the Server/DB, how would you replicate without causing issues?

1720


How do I get to sql server configuration manager?

511


Indexes are updated automatically is the full-text index also updated automatically?

619


What is a cache in ssrs?

110


Is mysql the same as sql server?

507


How many full-text indexes can a table have?

546


what is a transaction and what are acid properties? : Sql server database administration

522


What is merge?

567