|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
how do i cross join in this situation
I have a itemID returned from 1st select statement.now i want to cross join it with 2 values(original and copy) for printing vouchers...
how can i accomplish this without using a temp table what i want is as follows If I get 2 values for itemID as 101 , 201 after joining The end result expected is as 101 Original 201 Original 101 Copy 201 Copy |
|
#2
|
||||
|
||||
|
Sounds like you need a UNION query... but I need you to elaaborate to be sure
-mwalts |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > how do i cross join in this situation |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|