adspace


what is differece between union and union all

Answer Posted / dinesh sharma

Union:Only Select Distinct Value
Union All:Select All Values Using Duplicate
All Selected Columns Must Have Same DataType
Example:
Table 1 : First,Second,Third,Fourth,Fifth
Table 2 : First,Second,Fifth,Sixth

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can sql servers link to other servers like oracle?

916


Why and when do stored procedure recompile?

1060


What is subquery? Explain the properties of a subquery?

1059


do you know how to configure db2 side of the application? : Sql server database administration

1124


What is the difference between upgrade and migration in sql server?

1184


What is a view in sql?

1040


Equi join and non equi join is possible with sql server?

1134


What is standby servers? Explain types of standby servers.

1079


What are the source of constraints?

1009


What is normalization and what are the advantages of it?

1055


What are the different SQL Server Versions you have worked on?

1079


How do I find the sql server version?

1102


What kind of problems occurs if we do not implement proper locking strategy?

1499


Can we do dml on views?

1038


What is acid mean in sql server?

1245