What Are Three Rules to UseĀ UNION IN SQL SERVER

Answer Posted / saravakumar

UNION RULES
A UNION must be composed of two or more SELECT statements,
each separated by the keyword UNION.
Each query in a UNION must contain the same columns,
expressions, or aggregate functions, and they must be listed
in the same order.
Column datatypes must be compatible: They need not be the
same exact same type, but they must be of a type that SQL
Server can implicitly convert.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can change procedure in sql server?

517


What stored by the model?

542


What is the use of @@spid?

565


Describe in brief sql server monitoring ways.

583


Do I need a report server to run reports in my application?

104






What is sparse columns of sql server 2008?

595


Explain what are magic tables in sql server?

533


What is the difference between having clause and where clause in sql server?

566


How to delete database objects with "drop" statements in ms sql server?

587


What is meant by Active-Passive and Active-Active clustering setup?

550


Why do you need a sql server?

497


What is ddl and dml commands?

505


Do you know what are the reporting services components?

521


What is outer join in sql server joins?

588


Explain few examples of RDBMS?

609