Viewing 4 posts - 1 through 4 (of 4 total)
Thanks all. Changing the 4 backup N sorted it.
The reason I rewrote was due to getting syntax so I tried to resolve before asking.
I didn't post the original table...
April 30, 2012 at 3:12 pm
I have managed to solve the syntax error, by doing:
CROSS JOIN (SELECT 1 UNION ALL SELECT 2 UNION ALL SELECT 3 UNION ALL SELECT 4) as T (N)
and i do...
April 30, 2012 at 7:18 am
This is the code which i am using, but i am getting incorrect syntax near 4 which is on the cross join line...
INSERT INTO mytable
...
April 30, 2012 at 7:06 am
Thanks for your replies. I think I have sorted it. I am now exporting from the source in a flat file. I am then using the import...
April 24, 2012 at 12:58 pm
Viewing 4 posts - 1 through 4 (of 4 total)