SQL Server Interview Questions
Questions Answers Views Company eMail

what are the limitations of parameters in a storedprocedure

1 1912

Which index created when Create Index on table(col), Why

CGI,

2 3554

last function used in MS Access to convert sql what function will use in sql

Cap Gemini,

908




explain the difference between oracle- sql and sql server sql ? if both are same y we r using 2 sw.s?

iSoft, ADP,

1335

hi. suppose one person goal is strong knowledge on SQL.... suggest me ...if he learns SQL SERVER or ORACLE? which is best?

TCS, Unisys, Google,

7 8265

if 3 duplicate records in a table,i want to delete 2 duplicate records by keeping 1 as it is,how?

1 2085

if 3 duplicate records in table,i want to delete 2 alternating duplicate records by keeping 1 duplicate and 1 original as it is,how?

2 1856

if 3 duplicate records in a table,i want to delete 2 duplicate records by keeping 1 duplicate and 1 original as it is,how?

5 4919




How to delete the duplicate rows from a table in SQL Server ??

3 4289

what are the main differences between ms access and sqlserver

CDAC, C DAC,

1 2822

Department ----------- salary Deptname 1000 A 3000 A 2000 B 3000 B 4000 C 5000 C select the deptname where salary >=5000 result should be: Deptname --------- C please post only executed query in SQL server 2005 Asked By: Md. Niyaz

3 2696

WHICH IS THE BEST INSTITUTE IN HYD FOR "ORACLE"?

3 2213

what is integrated security (SSPI). why we use in the connection string?

2 4461

What is the difference between Temporary table variable and a Table variable? Or Which Table variable I should use inside Stored procedure?

Microsoft, TCS, Techastrum,

3 5627

What is the difference between WHERE AND IN? OR 1. SELECT * FROM EMPLOYEE WHERE EMPID=123 2. SELECT * FROM EMPLOYEE WHERE EMPID IN (123) WHAT IS THE DIFFERENCE?

Cap Gemini, Adsys,

15 11598


Post New SQL Server Questions






Un-Answered Questions { SQL Server }

How should i optimize the time for execution of stored procedure having single input and many output from the different tables?

870


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.

2731


Tell about MOM Tool(Microsoft Operator Manager)?

736


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

362


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

768






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

1022


how many no of arguments can be passed in procedures and functions

3584


Suppose i have a table that contains 5 columns like col1,col2...colm5.I want to import only two column through BCP utility.How to do same through BCP in sybase.

1302


What is data modeling and Reterminal integrity?

720


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

892


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?

1297


What is the difference between online clustering and Offline clustering?

1273


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

4845


What is Lock table in SQL?

327


1)what is the difference between Reinitializing a Subscription and synchronization the subscription? 2)when to use reinitializing ? 3)when to use synchronization? 4)when adding table or deleting a table what to do?(reinz.. or syn) 5)when adding a column what to do?

840