SQL Server Interview Questions
Questions Answers Views Company eMail

Their are two tables 'A' and'B'.Table 'A' contains 3 columns named 'eid','ename','dept'. Table 'B'contains 3 columns named'sid','designation','salary'. We have to retrieve the names of employees working in the same department,same designation and same salary. Its urgent can anyone help me out in this problem.

Tech Mahindra,

6 5668

whats new about truncate in sql server 2008?

Serco, MedSave Healthcare,


ow to bring suspect mode datbase online from scratch


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?


wat new abt truncate in sql server


2 3725

how to use DTS package in 2000,2005,2008 in sql server



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



which backup strategy you are following at ur company


your distribution database is full what will u do


Differences between logshipping and mirroring

Syntel, Microsoft,

1 3158

tell me the disaster recovery plan



application server is slow what may be the problem



Define the term DML, DDL and DTL?

1 20193

Creating Tables Using SELECT

1 1561

How can I create a table from another table without copying any values from the old table?

3 2708

Post New SQL Server Questions

Un-Answered Questions { SQL Server }

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


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?


how do you determine the Load performance of any query in sql server {example how do u determine performance of a select stmnt which returns Dynamically many no of records ... some times 100,1000,10000 etc., }


hi, how to link a text file and a .rpt file in my tables of sql server and to retrieve those records for further use. reply me as soon as possible.


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


Does any body please help me what question's have asked for SSRS in the interview?


what are the critical issues you have resloved in your company


What is Fragmentation and Defragmentation? For 32GB Table,How can we do the fragmentation?


1.what are diff types of joins , and explain diff between cross join and full outer join 2.diff types of views 3. Diff types of index 4. What is diff b/w stores procedure and function procedure 5.diff between double and int in SQL 6.diff between char and varchar in SQL. 7.Oracle or SQL whice you will preferred and why.


i have made a project i vb.net n created a .exe of it after installing it in to any pc, the database (sql express) is not geting accesed i.e the aplication cuts the link of the database, so plz help in this matter.


how to overcome kernel isssues


what is package and it uses and how can u call a package


How do you Implement SSIS Packages in your Project?


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


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