Hi.
The title of this thread is the error i get from the following sql statement.
Can anyone tell me how you would acheive this with MS SQL, as this statement would work in other DBs like Oracle etc, so i thought there must be something like it in MS SQL.
Suggestions welcome.
The title of this thread is the error i get from the following sql statement.
Code:
INSERT INTO Media_Cart_Items
(cart_id, cart_item_filename, cart_item_filesize, cart_item_full_path)
VALUES ('286', '***.WMV',
(SELECT Filesize
FROM Media_Delivery
WHERE Filename = '***.WMV'), '**.WMV');
Can anyone tell me how you would acheive this with MS SQL, as this statement would work in other DBs like Oracle etc, so i thought there must be something like it in MS SQL.
Suggestions welcome.