SQL Server Interview Questions
Questions Answers Views Company eMail

How get current date in SQL server 2000

Polaris, Cap Gemini,

4 2632

How get current date in SQL server 2000

Cap Gemini,

6 4039

In the primary key have a multiple field or not?

TCS,

8 4548




Consider a table with 8 rows 4 rows contains value 0 and 4 rows contains value 1.Now write a single update query to make all 0's as 1 and all 1's as 0

TCS, PMAM IT Services,

7 5345

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 ?

900

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

845

i have a table like this Eno ename 1 a 2 b 3 c i want to display ename and bossname from table hint boss is also an employee

NIIT,

3 3355

what are the critical issues you have resloved in your company

Wipro,

863




how can you move the master database

IBM,

1 3008

What is RMS migrations?

Satyam,

989

I hav 10 records only one column 1,2,3,4,5......10 now am writing query select max(column name) Then What is The Output

Brigade, Wipro,

9 5229

What is split brain scenario in DB mirroring?

1 7569

how do we insert 100 records at a time in a table without using for loop in database

1 3172

i need to know how i display department which has salary > =5000 for the below table Department ----------- salary deptname 1000 a 3000 a 2000 b 3000 b 4000 c 5000 c kindly send the query to thilakvinoth13@gmail.com

6 3602

in how many ways we can use count()

2 1320


Post New SQL Server Questions






Un-Answered Questions { SQL Server }

what are the critical issues you have resloved in your company

863


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?

1279


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

184


what are the Prerequisites for Replication?

8605


Any one plz send me SQL Server Developer/DBA resume for 4 years experience

1529






hi, the following are the outputs of sp_spaceused and sp_tempdbspace sp_spaceused ------------ database size unallocated size tempdb 77752.95 MB 28026.99 MB sp_tempdbspace ------------- database size spaceused tempdb 77752.945312 1.007812 the unused space in sp_spaceused is nearly 28 Gb and in sp_tempdbspace is nearly 76 Gb cany any one explain about this output and why its giving different results.

1675


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

864


How retrieve field names from the table in SQL through JAVA code?

741


tell me the disaster recovery plan

1323


what is isolation level at dead lock?

1047


What is best institute to Learn DotNET And SQL in chennai?

1005


You are doing log shipping due to some reasons it is failing. How you will proceed from there

859


How to trouble shoot if unable to connect SQL Server

810


Delete duplicate rows without using rowid.

230


How to write the storeprocedure with in the store procedure? and how can we write the store procedure with in a trigger vice versa? plz post me the exact answer?

1294