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 : SQL Server Agent Jobs in Existing QB Console SessionSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 SQL Server Agent Jobs in Existing QB Console Session 
 Author   Message 
  Howard 
  
 Group: Members 
 Posts: 4 
 Joined: 2008-06-19 
 Profile
 Posted : 2008-07-10 07:05:53

Since we can not run the QODBC in unattended mode, we are forced to leave the QB session open in a console session. It works for our Customer, Item and several SP_Reports downloads thru several SSIS packages after midnight.

 

However, we now have a need to download the whole Invoice and Credit Memo tables that contain more than 70K records every night. The only way to do it is using Optimizer with NOSYNC mode.

 

To make a long story short, after different problems/issues, we finally use the NT scheduler to run odbcupd.exe around midnight before the downloads.

 

Problem is, we don't think our SSIS package run under SQL Server agent is USING the optimizer. It takes more than 3 hours to finish the Credit Memo table along, but only a few minutes in Visual Studio running the same SSIS package.

 

So, what is the difference between running under SQL agent versus running directly in Visual Studio? Our SQL server agent logon account is the local account  "System"

 

Thanks.

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-07-10 09:44:59
Most users run SSIS jobs that run every 15 minutes to pick up any changes to a QODBC table like this. This will display any modified Sales Order lines from 15 minutes ago:

Select * from SalesOrderLine Calldirect where timemodified >= {fn TIMESTAMPADD(SQL_TSI_MINUTE, -15, {fn NOW()})}

Calldirect is used to grab the new and any modified rows from QuickBooks directly bypassing any optimizer updates (or issues).

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to