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 : QODBC is taking too much time for sql query executionSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 QODBC is taking too much time for sql query execution 
 Author   Message 
  SPS 
  
 Group: Members 
 Posts: 2 
 Joined: 2008-03-14 
 Profile
 Posted : 2008-03-14 15:55:33

Hi,

I am using QODBC v8 . I was supposed to integrate quickbooks with my application, I am using QODBC for that. I have created a likned server in sql and written a stored procedure in which i''m synchronizing quickbooks invoices with invoices in my application. It works ok when I run it on development pc as .qbw file here is not to huge, ok means it takes around 1-2 mins for simple select queries, synchronization goes much longer. Now in production environment i've set up qodbc connection using remote connector by installing qodbc in pc having quickooks and pc having sql. Test connection to quickbooks is successful and it's even showing me tables in sql. but when i try to execute a single select statement on any table it takes too long. I have tried it on company table which has too less rows, but then also execution goes on for 30-40 mins, and I have to cancel the query. And the stored procedure I have written for quickbook is not even getting created, it also takes 30-40 mins and then I have to cancel. Please help me with this.

Thanks in Advance

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-03-15 08:44:49
As per: Does QODBC work with MS SQL Server 2005 Linked Tables? you need to be using the QODBC Server Edition, the DCOMs, QuickBooks and MS SQL Server all on the one box and not the QODBC Remote Connector. 

  Top 
  SPS 
  
 Group: Members 
 Posts: 2 
 Joined: 2008-03-14 
 Profile
 Posted : 2008-04-05 01:08:52

Hi Tom,

Thanks for the reply. I have done it as per your suggestion, I have convinced client to use all these in same machine. Client has shifted his servers for that.  I am able to run single query in some seconds.

but my stored procedure is still not getting created. It has been 25 hours that I have started stored procedure creation query, and it's still running. I am not able to undestand what is the problem. RAM is 3 GB on server. QB file size is 112 MB. Please help me with this.

Thanks in Advance.

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-04-07 11:19:49
The best thing I can suggest is to create another procedure that does something realy simply and see if that works first. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to