Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
If you can't
login and post questions or you are having trouble viewing forum posts:
Click Here
|
Callback
Support |
If you live in USA, UK, Canada, Australia or New
Zealand, you can leave us details on your question and request us to call you back and discuss
them with you personally (charges apply). |
Click Here
|
Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
|
Insert into Select |
Author |
Message |
|
Posted : 2008-02-08 08:13:43 |
I am planning an application that will require data transfer from QB to a MSSQL database. I'm struggling with a simple INSERT query. I have a feeling there is some documentation for QODBC that I've not seen yet that could clarify this somewhat, but until I find it, I'm begging for help.
Here is the query:
INSERT INTO employee IN [.\SQLEXPRESS;DATABASE='C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\cdginfo.mdf';] EmpFullName SELECT Name FROM Employee
this yields and error:
[QODBC] Expected lexical element not found: SP_REPORT
Any help would be appreciated. I'd feel alot more comfortable too if I could be directed to detailed documentation for QODBC.
Thanks, Icabod |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-02-08 10:20:46 |
Sorry, your Append query from MS Access is generating invalid SQL when calling QODBC. To insert an Employee please see: How do I add a new Employee? |
|
|
|
|