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 : Quickbooks Enterprise 7.0 one time backup to SQL Server 2005Search Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC Frequently Asked Questions

 New Topic 
 
 Post Reply 
[1]  
 Quickbooks Enterprise 7.0 one time backup to SQL Server 2005 
 Author   Message 
  gtim19 
  
 Group: Members 
 Posts: 1 
 Joined: 2007-05-04 
 Profile
 Posted : 2007-05-04 06:10:48

I'm trying to perform a one time backup of tables in Quickbooks Enterprise 7.0 to SQL Server 2005.  I have Quickbooks setup using QODBC as a Linked Server (Does QODBC work with MS SQL Server Linked Tables?), and I've tried the following:

Copying the tables using "Select * INTO <table> FROM QODBC...<table>".  Many of the table copy over fine, but I am getting the following error on a few of them: "An unexpected NULL value occured... Column can not be NULL".  I tried copying just the table structure over, removed the constraints on the copied table, and then performed an insert... but still got the same error.

I've also tried doing a bulk transfer using the following tutorial ( Using DTS to Load QuickBooks Data into Microsoft SQL Server).  This would be ideal since it isn't as much work as the above method, but it doesn't seam to be working with SQL Server 2005.  I updated the DTProperties to sysdiagrams, but I'm wondering if since I had a different version of quickbooks (different tables) that is causing some issues.

Please let me know if anyone has used the DTS bulk load with 2005, or how to by pass this constraint issue.  Thanks!!!!!!

 

 
TIM 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-05-04 13:54:48

Ok, the nulls are because of your optimizer settings, my recommended settings for using QODBC are shown here:

See: How do I setup the QODBC Optimizer? Where are the Optimizer options? for an explaination of all the options available to you. You will need to "Reload All Data" once you change the "For balances and stock quantities" setting to "Dirty Reads".

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to