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 : How can I make sp_report faster on a Linked MS SQL Server?Search Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC Reporting Forum

 New Topic 
 
 Post Reply 
[1]  
 How can I make sp_report faster on a Linked MS SQL Server? 
 Author   Message 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-03-21 12:56:16

I am using the following SQL command in my linked MS SQL Server :

SELECT * Into #LastMonth FROM OPENQUERY(QODBC, 'sp_report CheckDetail show TxnID,TxnNumber,SplitAccount,ClearedStatus, TxnType, RefNumber as CheckNumber, Date as CheckDate, Name, AccountNumber,Account, PaidAmount, OriginalAmount parameters DateMacro = ''LastMonth''')

This takes 2-4 minutes to run and returns 1500-3000 records. How can I make it faster?

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-03-21 12:58:45

Unfortunately SP_REPORTS are not items that can be optimized with the QODBC v6 Optimizer. As long as you have the ODBC Provider Options > Allow InProcess proptery set:-

(setup during your setup of the link server) I think that is the best you can do. QuickBooks reporting does not perform well when threaded which is how SQL calls QODBC.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to