Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

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

Forum : stored procedure in SQL Server 2005Search Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC SQL Support Forum

 New Topic 
 
 Post Reply 
[1]  
 stored procedure in SQL Server 2005 
 Author   Message 
  declouet 
  
 Group: Members 
 Posts: 29 
 Joined: 2007-06-27 
 Profile
 Posted : 2007-08-02 04:40:24

I cannot run this stored procedure in SQL Server 2005.

SELECT * FROM OPENQUERY(DUMQBLS, 'sp_optimizefullsync ALL')

Msg 7357, Level 16, State 2, Line 1

Cannot process the object "sp_optimizefullsync ALL". The OLE DB provider "MSDASQL" for linked server "DUMQBLS" indicates that either the object has no columns or the current user does not have permissions on that object.

Or this one

SELECT * FROM OPENQUERY(DUMQBLS, 'sp_optimizefullsync ALL') where 1=0

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-08-02 09:00:30

Calling QODBC stored procedures that don't return anything can't be used for MS SQL Server. I had requested a verbose parameter, but the suggestion was rejected. We are told to use these workarounds instead:

For Update Sync:
SELECT * FROM OPENQUERY(QBLS, 'SELECT TxnID FROM Customer OPTIMIZE WHERE TxnID = 'x')

And for Full Sync:
SELECT * FROM OPENQUERY(QBLS, 'SELECT TxnID FROM Customer VERIFY WHERE TxnID = 'x')

Further work was done to address stored procedures in QODBC Release 7.10.00.225 and it might be useful to try this again when it's released publicly. (PS: Don't ask me when it will be released).

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to