Viewing 14 posts - 1 through 14 (of 14 total)
Actually I found the way.
SELECT TableNew.itemnumber,TableNew.PL,TableNew.Description,TableNew.Price FROM TableNew
WHERE TableNew.ItemNumber IN
(SELECT t1.ItemNumber
FROM testtable t1
INNER JOIN testtable...
June 24, 2008 at 4:25 pm
Now that I think about it I have one more question.
can I join the results to an additional table to bring some more fields from there.
Additional table structure
TableNew
ItemNumber ...
June 24, 2008 at 4:09 pm
This is awesome, Thank you very very much.
I would probably add a group by at the end so I won't get duplicates:
SELECT t1.ItemNumber
FROM testtable t1
...
June 24, 2008 at 3:56 pm
How do I write 5 insert statements against 1 select?
September 5, 2007 at 7:11 pm
December 15, 2006 at 3:38 pm
December 14, 2006 at 10:48 am
Did that but still no luck, I'm getting the following error:
Server: Msg 156, Level 15, State 1, Line 26
Incorrect syntax near the keyword 'GROUP'.
Server: Msg 170, Level 15, State...
December 13, 2006 at 9:21 pm
December 13, 2006 at 7:31 pm
ItemNumber2
ItemNumber3
ItemNumber4
PLDescription2
ItemNumber5
ItemNumber6
December 13, 2006 at 6:15 pm
December 13, 2006 at 2:20 pm
you are unbelievable
Thank you so much, you have no idea how great this is.
You rock.....
Oren Levy
December 7, 2006 at 6:33 pm
Viewing 14 posts - 1 through 14 (of 14 total)