M
misfit815
I'm trying to execute an INSERT query with a static GUID value, but
can't get the syntax right. Assuming that Col1 of Table1 is a GUID
field, what's the correct form of the following:
INSERT INTO Table1 (Col1, Col2... ColN)
SELECT '12345678-9ABC-DEF0-1234-56789ABCDEF0', Col2... ColN
FROM Table2
I've tried various combinations of ', ", #, {}... and can't seem to
find the answer. Thanks.
J
can't get the syntax right. Assuming that Col1 of Table1 is a GUID
field, what's the correct form of the following:
INSERT INTO Table1 (Col1, Col2... ColN)
SELECT '12345678-9ABC-DEF0-1234-56789ABCDEF0', Col2... ColN
FROM Table2
I've tried various combinations of ', ", #, {}... and can't seem to
find the answer. Thanks.
J