This is a discussion on Problems executing query within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> HI, i have a query that insert rows based on a select statement. When I execute it in the ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| HI, i have a query that insert rows based on a select statement. When I execute it in the query analyzer it works fine. But, if I try to execute the same query from the application reports this error: [SQLSTATE = 37000 [Microsoft][ODBC SQL Server Driver] Syntax error or access violation] The query looks like this: insert into table1 select * from table2 Do you know what could be the reason for the error?? Thanks a lot for your help. |
| Thread Tools | |
| Display Modes | |
|
|