[QXL-ALL] How to export to Sybase
Posted by Jack - QODBC Support on 11 May 2018 01:32 PM
How to export to Sybase
I am using QXL & I want to export QuickBooks Data to Sybase.
How can I export QuickBooks Data to Sybase using QXL?
You can export QuickBooks Data to Sybase using QXL.
First, You need to create the database in Sybase for storing QuickBooks Data. You need to use Interactive SQL & execute below query for creating the database.
create database dbname on default ="1G"
create database QXL on default ="1G"
Note: default ="1G" will set database size to 1GB. If your company file contains more data, then you need to create the database with more size.
The database is created in Sybase.
By default, Sybase database does not allow null value in database fields.
There is some field value could be null during export. So, We need to change this property. We can change it by using below query.
Note: You need to execute above query in Master database.
The query is executed. Now, You are ready to export QuickBooks data in Sybase.
After that, You need to create ODBC DSN for Sybase which will point to the Sybase Database.
I have already created ODBC DSN for Sybase below property of the DSN. We will test connection of Sybase DSN by providing Sybase database information & clicking "Test" button.
Sybase ODBC DSN test connection successful. We will use this DSN in QXL.
The first step in adding ODBC connection is to click on settings icon for QXL options details.
Navigate to "Pro Edition" & click "Add New" button for adding the New Connection.
Enter connection details (i.e. Connection Name, Connection String) select "ODBC Data Source" as a Connection Type & "Sybase" as Mapping Type and click "Test Connection" button.
You can insert any value for Connection Name.
Sample ODBC Connection String Format: DSN = Data Source Name;Port=PortNo;Database=DBName;User Id=Uid;Pwd=pwd;
For Example: DSN=QXL_SYBASE;Port=5000;Database=QXL;User Id=sa;Pwd=css@123#;
Test Connection Successful.
Click "Save" button to save connection details.
Connection information updated.
The connection is added to the dropdown list.
Navigate to the "General" tab & select "SQL Server / ODBC Data Source (QXL Pro Edition)" as a Format & click "Close".
Now data is ready to export into Sybase. You can export by clicking on the Export icon from QXL Setup Screen.
QuickBooks Data is exported to the Sybase. You can verify it using below query.
Select * from sysobjects where type="U"