SQL Server Interview Questions
Questions Answers Views Company eMail

What is database replicaion? What are the different types of replication you can set up in SQL Server?

SAIC, Aptech, HCL, Perpetual,

5 20346

How to determine the service pack currently installed on SQL Server?


4 6664

Can you have a nested transaction?


4 7812

What is an extended stored procedure? Can you instantiate a COM object by using T-SQL?


3 9431

What is the system function to get the current user's user id?


2 10521

There is a trigger defined for INSERT operations on a table, in an OLTP system. The trigger is written to instantiate a COM object and pass the newly insterted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better?


1 3682

What is the datatype returned by count(*)

247Customer, Asian CERC,

22 21775

how to write test cases for testing databases,especially for testing and writing test cases for stored procedures.any real time database testers.please answer me.


Can I remove the default constraint columns in SQL SERVER?

Value Labs,

5 10452

What is the difference between distinct clause and group by clause?

Value Labs, HHH,

2 13048

can we call stored Procedure in Function in Sql Server 2000 and vice versa.

Wipro, eSoft, C3I, iPRO Solutions,

3 15811

What is an extended Stored Procedure?

1 4819

What is Trigger?


3 6948

What is a view? is View updatable?


17 23184

What is the difference between having and where clause?

4 7025

Post New SQL Server Questions

Un-Answered Questions { SQL Server }

how can you attach more than 20 ldf files in sql server


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?


New concepts of sql server 2005 use in your project.


where the connection string store in the database


What is the difference between NOROW and LOCKROW?


Can we make the the chages By Using the Sql if u know any function or process please inform me Actuall result: BRK1 Break 1 Part 1 00:01:00:00 60 BRK1 Break 1 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 BRK2 Break 2 Part 2 00:01:00:00 60 BRK2 Break 2 Part 3 00:01:00:00 60 BRK3 Break 3 Part 1 00:01:00:00 60 BRK3 Break 3 Part 2 00:01:00:00 60 Desired O/P: BRK1 Break 1 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 Part 3 00:01:00:00 60


Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?


What are the new features introduced in SQL Server 2000? What changed between the previous version of SQL Server and the current version?


optimization techinques


Call by value and call by reference in procedure and function, with NOCOPY.


What are the dis_advantages of stored procedures, triggers, indexes?


How can we call UDF(User Define Function) using C# code in ASP.net ?


on line cluster can we make if yes tell me the procedure


whats the maximum size of view state??


In one interview...interviewer ask me question pleas tell me sql server architecture.. can any body tell me the sql server architecture with digram