Geeks Talk

Prepare for your Next Interview




set operator

This is a discussion on set operator within the SQL forums, part of the Databases category; Hi all can u explain the set operator in sort formmm.................. Thanks...


Go Back   Geeks Talk > Databases > SQL

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-27-2008
Junior Member
 
Join Date: Jul 2008
Location: Delhi
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
sunil_bisht is on a distinguished road
Question set operator

Hi all

can u explain the set operator in sort formmm..................


Thanks
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-27-2008
Expert Member
 
Join Date: Sep 2007
Posts: 754
Thanks: 22
Thanked 64 Times in 63 Posts
krishnaindia2007 is on a distinguished road
Re: set operator

Set operators are used to combine information of similar type from one or more tables.

Set Operators - UNION, UNION ALL , INTERSECT and MINUS

Minus :- Rows unique for the first query will be returned.

Intersect :- It returns common rows from different select statements

Union :- Union returns all the rows from two different select statements and then eliminate duplicate rows from the result set.

Union All :- Union all returns all the rows from two different select statements without eliminating duplicate rows.
Reply With Quote
Reply

  Geeks Talk > Databases > SQL


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
set operator sunil_bisht SQL 1 08-19-2008 08:15 AM
sizeof() operator jaiprabuk C and C++ 9 08-10-2008 01:14 PM
Operator Overloading sivasubbu C# 5 07-26-2008 06:14 PM
Use of Ternary Operator? pradeep.madishetti QTP 1 05-02-2008 12:41 PM
Operator overloading valireddy C and C++ 2 04-12-2008 07:34 AM


All times are GMT -4. The time now is 06:37 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved