Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fastest method for union of two selects
Message
From
22/11/2006 07:49:58
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01171624
Message ID:
01171714
Views:
19
>>I was trying the group by clause in both the select statements
>>Rajesh
>
>The GROUP BY clause in each part of UNION Selects will group only the part where it is used. What you trying to do? Can you post some example data and desired result?

I suggest clients provide that for every change request. Simple data like ...

Invoice 1
Line item 1 qty 2 price $1 extended $2
Line item 2 qty 4 price $2 extended $8
total $10

You can eyeball this and know the invoice is correct.
Previous
Reply
Map
View

Click here to load this message in the networking platform