Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MaxDB - Everything about MaxDB, formerly known as SAP DB
MySQL++ - Programming with the C++ API to MySQL
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
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()
 
Extract a table with NULL-values without question marks in the

Extract a table with NULL-values without question marks in the

2006-07-07       - By Ralf Udo Weisser

 Back
Reply:     1     2  

Hello,

who can help me with this Problem:
My aim:
I want do transfer an table from one MaxDB instance to an other for testing.
So I coded an small Java-program with the Java-Class "Loader", which is
produced by MaxDB-programer. In this class I can extract an defined table from
one DB-instance in a data-file. This data-file,which is like a text-file, I can
import on an analog way with a loading-command in another DB-instance.

My problem:
If there are NULL-values in the table, the extracted data-file contents
question marks for NULL-values instead of space character. If I want to load
this data-file with the loader-class, I alway get a exception, because the
datatype for this colum is not compatible with strings.

My Question:
Can I make an setting, which defines, how NULL-values are extracted in a data
-file?

Thank you very much for you help.

Ralf

--


"Feel free" ??? 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

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