Welcome, Guest Ohm namah shivoy
www.faqpanel.com
Home | ASP.Net | C-Sharp | Winforms | MS SQL | AJAX | XML | .Net Training*** | Search
Invite friends 
Extras 
VS Tips & Tricks
Top 10 .Net Tools
Special folders in ASP.Net
VS Find Combobox
 ASP.Net Interview Questions and Answers
What is a Subquery ?
A Subquery is a normal T-SQL query that is nested inside another query. They are created using parentheses when you have a SELECT statement that serve as the basis for the either part of the data or the condition in another query.

Subqueries are generally used to fill one of couple of needs -

1. Break a query up into a series of a logical steps.
2. Provide a listing to be the target of a WHERE clause together with [IN|ESISTS|ANY|ALL].
3. TO provide a lookup driven by each individual record in a parent query.

Eg.
SELECT SelectList FROM SomeTable WHERE SomeColumn = (SELECT SingleColumn FROM SomeTable WHERE Condition that results in only one row returned)

If any user-created stored procedure has the same name as a system stored procedure, will the user-created stored procedure be executed?
What are stored-procedures? And what are the advantages of using them.
What is a transaction and what are ACID properties?
What are the Stored procedures (sprocs) in SQL Server?
What is the limit of a row n SQL Server?
What is the difference between CAST and CONVERT in SQL?
What is DTC (Distributed Transaction Coordinator) in SQL Server?
How to find nth highest salary from Employee table in SQL Server?
What are the types of constraints in SQL Server?
What is the UNIQUE KEY constraint in SQL Server?