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 19961

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


4 6368

Can you have a nested transaction?


4 7495

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


3 9203

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


2 10041

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 3550

What is the datatype returned by count(*)

247Customer, Asian CERC,

22 21061

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 10133

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

Value Labs, HHH,

2 12467

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

Wipro, eSoft, C3I, iPRO Solutions,

3 15464

What is an extended Stored Procedure?

1 4695

What is Trigger?


3 6725

What is a view? is View updatable?


17 22283

What is the difference between having and where clause?

4 6825

Post New SQL Server Questions

Un-Answered Questions { SQL Server }

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


how can u get last observation in an unknown dataset ?


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?


Write a Select Query to display title for each group of records, which are collected with Compute Clause? Like titlefield column-A column-B ..... ..... ..... Sum ... titlefield column-A column-B ..... ..... ..... Sum ...


What is the query optimization statistics?


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


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


how to do partition in sqlserver


Can anyone tell that the extra features are there in SQL SERVER 2008 that are not available in previous versions .


sql database suspect We have a sql database that is showing as suspect. How can we recover?


If the job running very slow what is the action you do


What is the difference between NOROW and LOCKROW?


If user is owning any SQL Objects, can we drop that user


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


Tell about MOM Tool(Microsoft Operator Manager)?