SQL Server Interview Questions
Questions Answers Views Company eMail

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.

Aptroid,

317

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

TCS,

339

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

265




how can you select rexcord(rows) from table A which is not present in Table B . Id being the FK in Table B referencing to ID Table A

United Healthcare,

319

What is Lock table in SQL?

Wipro,

199

Can we call a function that has out parameter in select statement

Nagarro,

42

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

Nagarro,

101

If we delete pack Spec what will be the status of pack Body ?

Nagarro,

132




Delete duplicate rows without using rowid.

Nagarro,

136


Post New SQL Server Questions






Un-Answered Questions { SQL Server }

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

835


Hi all, can any one please tell me the difference between sql server 2008 and orace 9i

753


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?

1185


ow to bring suspect mode datbase online from scratch

644


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

735






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.

2628


role of sql sever 2005 in database rather than any other database

834


How can we call UDF(User Define Function) using C# code in ASP.net ?

4583


Issues related in upgrading SQL Server 2000 to 2005 / 2008

721


If a stored procedure is taking a table data type, how it looks?

4561


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

101


1.what is the diff between nolock optimizer and read uncommitted isolation? 2.what is the diff between revoke and deny? 3.what is percieved down time? 4.whether password protection are required for backups?if yes why?if no why? 5.what is fill factor? 6.what is cost analysis? 7.what is mean by piece meal restore? 8.what is 'rowguidcol'? 9.impersonate permission? 10.what is selectivity?

817


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

265


Comment,Datatypes are unlimited

871


How to restore performance issues and how to check?

798