Mailing List
Home
MySQL General - General MySQL discussion
MaxDB - Everything about MaxDB, formerly known as SAP DB
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
MySQL++ - Programming with the C++ API to MySQL
ODBC - ODBC with the MySQL Connector/ODBC driver
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Default integer value for loadercli

Default integer value for loadercli

2004-03-15       - By Morris, Rick

 Back
Reply:     1     2  

I'm loading tables from Oracle into SAPDB 7.4
Some of the tables have number columns which have null values.
I have extracted the data from the tables successfully, but when I try to
load them into MaxDB using loadercli, the load fails when there is no value
in an integer column.
I would like to specify in the loader script to put a zero in the table when
the column is null.
I have tried syntax like the following in the loader script:

columname 3 default 0

When I try this syntax, I get a syntax error on the loader script at this
point.
What is the proper way to accomplish this?

Thanks.

Rick Morris
Web Architect
Brightpoint North America L.P.
(800) 952 2355 ext. 2312



--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/maxdb?unsub=mysql@(protected)