Viewing 4 posts - 1 through 4 (of 4 total)
Thanks Ramesh, I forgot variables could be assigned that way.
Cheers,
Chris
October 9, 2007 at 6:06 am
Manage to solve it myself - missing the brackets.
Should be: SET @Tmp = (SELECT TOP 1 Value FROM Table ORDER BY NewID())
October 9, 2007 at 3:21 am
I am not sure exactly what you want to do with it but this should give you some idea of how it could be achieved by turning the...
February 5, 2007 at 1:25 am
Hi There,
-- What you need to do for an insert is the following:
insert into tbl1
(port)
Select tbl2.port from tbl2 INNER JOIN tbl1 ON tbl1.ship_id = tbl2.ship_id
-- If it is an update...
May 23, 2006 at 12:05 am
Viewing 4 posts - 1 through 4 (of 4 total)