SQL Server Interview Questions
Questions Answers Views Company eMail

How do you optimize Sql queries ?



Rate yourself in .NET and SQL ?

SunGard, HCL, Cognizant,

1 5424

in tabase table having a column in it empname field is there which having 5 duplicate values is there i want deleted all the duplicates i want showing only one name only.

7 5327

How do you implement one-to-one, one-to-many and many-to- many relationships while designing tables?

Symphony, TCS, Credit Suisse, GCU,

4 20510

What's the difference between a primary key and a unique key?

4 4909

What are user defined datatypes and when you should go for them?

1 5955

What is bit datatype and what's the information that can be stored inside a bit column?

1 2933

Define candidate key, alternate key, composite key.

Infosys, Software India,

13 104239

What are defaults? Is there a column to which a default can't be bound?


2 5366

What is a transaction and what are ACID properties?

Virtusa, TCS, IBM, Config Systems,

14 62630

Create Index myIndex On myTable(myColumn) What type of Index will get created after executing the above statement

3 5374

Explain Active/Active and Active/Passive cluster configurations

2 12962

What is RAID and what are different types of RAID configurations?


8 22429

What is a deadlock and what is a live lock? How will you go about resolving deadlocks?


7 39396

What is blocking and how would you troubleshoot it?

2 3119

Post New SQL Server Questions

Un-Answered Questions { SQL Server }

optimization techinques


Which is the best place or learning center for MS SQL?????In Bangladesh?????


How to check what was the last restore transaction LSN in Log shipping or Mirroring? when we don't have a Monitor or witness server.


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


1.how to find the dead lock in sql server? 2.How to fine the memory leaks in sql server? 3.suppose transaction log file increasing what action will take ?


How do use Having,Group by,Group function in SQL?


What is data modeling and Reterminal integrity?


What is log shipping? Can we do logshipping with SQL Server 7.0 - Logshipping is a new feature of SQL Server 2000. We should have two SQL Server - Enterprise Editions. From Enterprise Manager we can configure the logshipping. In logshipping the transactional log file from one server is automatically updated into the backup database on the other server. If one server fails, the other server will have the same db and we can use this as the DR (disaster recovery) plan.


in a table is b in column k (manikanta,sivananda,muralidhar) i want result like (mnikanta,sivnanda,murlidhar) please slove it


what is the sql equivaent of the dataset relation object ?


This question asked during interview, 2) At the end of each month, a new table is created for each bank that contains monthly metrics consolidated at the account level. The table naming convention is bankX_YYYYMM where X represents the numeric designation of the bank and YYYYMM indicates the 4 digit year and 2 digit month. The tables contain the following fields: name data type description account text account number registered boolean indicates whether the account is registered num_trans integer number of transactions made during the time period spend numeric(9,2) total spend during the time period a) Write a SQL query that will display the total number of transactions and total spend for "Bank1" during the 4th quarter of 2009. b) Write a SQL query that will display the total number of transactions and total spend at "Bank1" and "Bank2", broken out by registered vs. non-registered accounts, during January 2010 not sure what is correct answer and how to solve?


whats new about truncate in sql server 2008?


what is the Ticketing tool used in Wipro technologies at Bangalore...???


What is RMS migrations?


1.what is the diff between nolock optimizer and read uncommitted isolation? 2.what is the diff between revoke and deny? 3.what is percieved down time? 4.whether password protection are required for backups?if yes why?if no why? 5.what is fill factor? 6.what is cost analysis? 7.what is mean by piece meal restore? 8.what is 'rowguidcol'? 9.impersonate permission? 10.what is selectivity?