SQL Server Interview Questions
Questions Answers Views Company eMail

What is a NOLOCK?

3 17296

How do SQL server 2000 and XML linked?

2 6087

What is the difference between HAVING clause and the WHERE clause?

7 11921




Explain what are db_options used for?

InterGraph,

1 7329

how to know description of a table in sqlserver 2000

8 6184

plz send every query in sql server2000

Infosys,

1 3390

How to Execute an Operating System Command From Within SQL Server ?

3 5658

How can I create a plain-text flat file from SQL Server as input to another application?

2 8980




Can you create UNIQUE and PRIMARY KEY constraints on computed columns in SQL Server 2000?

Infosys,

3 6591

The Difference between 'Count' and 'Count(*)'

13 17298

How do I list the available tables in a database I'm querying?

4 3972

How to count the number of duplicate items in a table?

3 5590

is it possible to use a variable in a query with the IN clause (a,b,c..z), without getting quotes or conversion errors?

2 3203

How to give a user the option of importing Excel and a delimited text file into a SQL Server Database without manually using SQL DTS?

GE,

1 3458

Is it possible to create tables in stored procedures using a variable for the table name?

2 3292


Post New SQL Server Questions






Un-Answered Questions { SQL Server }

wat wil hapn if we give the both read and deny read permission to user?

976


Hi, I Created 3 Tables Person(PersID[prkey],Name,Email,Password), Project(ProjName,ProjID[prkey],ProjLeader,ProjManager) & ProjectInvolvement(EntryDate,ProjID[frkey],PersID[frkey],ProjDuration). For this how can i INSERT,UPDATE & DELETE Through PROCEDURE? Please Post the Answer for me. Desai.

701


Delete duplicate rows without using rowid.

232


application server is slow what may be the problem

1115


what is the sql equivaent of the dataset relation object ?

875






How you trouble shoot when any job fails

729


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

866


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.

2716


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

208


whats new about truncate in sql server 2008?

1345


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

884


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


Issues related in upgrading SQL Server 2000 to 2005 / 2008

821


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

4760


Write a Select Query to display title for each group of records, which are collected with Compute Clause? Like titlefield column-A column-B ..... ..... ..... Sum ... titlefield column-A column-B ..... ..... ..... Sum ...

974