What are sub-queries? Give example? In which case
sub-queries are not feasible?

Answer Posted / akhil

text and image datatypes are not allowed in
subqueries.Subqueries cannot manipulate their results
internally, that is, a subquery cannot include the order by
clause, the compute clause, or the into keyword.
Correlated (repeating) subqueries are not allowed in the
select clause of an updatable cursor defined by declare cursor.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the order by used for?

799


What are the properties and different types of sub-queries?

779


Explain what are various ways to enhance the ssrs report?

791


What is the difference between seek predicate and predicate?

767


Tell me what is sql profiler?

808


How to sort query output in descending order in ms sql server?

753


Explain what is public role in sql server?

803


what type of index will get created after executing the above statement? : Sql server database administration

730


How can you fetch alternate records from a table?

718


but what if you have to create a database with two filegroups, one on drive c and the other on drive d with log on drive e with an initial size of 600 mb and with a growth factor of 15%? : Sql server database administration

724


What is system stored procedures?

771


List the data types available in mssql?

721


Define inner join? Explain with an example?

714


What is the log shipping?

760


What happens if an integer is too big for int date type?

753