SQL Server Interview Questions
Questions Answers Views Company eMail

can you any body tell me simple recovery,full recovery,bulk logged recovery where can use?

1 1902

one table has four field id,name,design,salary. i have to find maximum salary .

6 3331

1.what is stored procedure?Its significance with example? 2.Explain about index with syntax and example? plz do reply.........

2 7919




you are provided with the single table having say 4 col ie fname lname age city , now the all records with displying of only fname and lname is required but in this format say my name is abhay khanna it will come like this abhay-khanna rahul-roy gaurav-singh the above format is required

3 2270

How to find the date and time of last updated table?

Teledata,

6 5049

1.what is the difference between view and cursor? 2.If we do any change in view will it affect the database,similarly when we do changes in cursor will it affect the databse?with certain example?Thanks

5 17955

1.what is the purpose of using alias name in sql server? with certain example? 2.what is cursor?will u plz explain me in detail with certain example?

3 5640

What value could be assigned to Varchar Type?

3 2970




Would it be a good idea to create an index on a table that always contains 10 records? Why or why not?

3 2876

What types of integrity are enforced by a foreign-key constraint

1 2418

What are the main control-of-flow T-SQL constructs?

1 3097

What are the two virtual tables SQL Server maintains for triggers?

3 5475

What does the INSTEAD OF trigger do?

3 4585

What are explicit and implicit transactions?

BirlaSoft,

4 16820

What are the two types of concurrency?

4 4525


Post New SQL Server Questions






Un-Answered Questions { SQL Server }

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

1226


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

672


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

278


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.

1572


what is the Ticketing tool used in Wipro technologies at Bangalore...???

4886






I have a table Events Events containing cardno,time,id,name--each id has a cardno my requirement is every day each employee swipe the card several times i want to calculate first and last time of each card the output should be name 1 2 6 7 in out in out holiday holiday xxx 09:30 06:30 09:40 06:45 where 1,2...... are dates for example january 1,2, etc. 6 and 7 are saturday and sunday how it is posssible

1072


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

813


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?

1221


Comment,Datatypes are unlimited

894


what is checksum in sql server.........???

356


whats new about truncate in sql server 2008?

1280


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

828


What is data modeling and Reterminal integrity?

632


tell me the disaster recovery plan

1260


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?

1213