Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What Are Three Rules to Use UNION IN SQL SERVER



What Are Three Rules to Use UNION IN SQL SERVER..

Answer / 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

More SQL Server Interview Questions

Can we rewrite subqueries into simple select statements or with joins? Example?

2 Answers   ASD Lab,


what is dbcc? : Sql server database administration

0 Answers  


What are translations and its use? : sql server analysis services, ssas

0 Answers  


How to create new table with "create table" statements?

0 Answers  


Write SQL queries on Self Join and Inner Join.

0 Answers   Aspiring Minds,


What is the datatype of rowid?

0 Answers  


Explain what are sparse columns?

0 Answers  


List the different types of joins?

0 Answers  


i have 4 tables.. T1, T2, T3, T4.. these tables have the same structure and they store the information entered in different years.. T1 stored 2002, T2 stored 2003, T3 stored 2004 and T4 stored 2005.. i want to copy contents in T1 to T2, T2 to T3, T3 to T4 and T4 to T1.. how do i do that? Temp tables cannot be used..

4 Answers  


Explain system rowset functions?

0 Answers  


which query u can write to sql server doesn't work inbetween 7.00PM to nextday 9.00AM

5 Answers   Wipro,


how to count datewise data in sqlserver

4 Answers   CarrizalSoft Technologies, IndusInd Bank,


Categories