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
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL++ - Programming with the C++ API to MySQL
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.
Loader error (-25301)

Loader error (-25301)

2004-03-12       - By Andy Chan

 Back
Reply:     1     2     3     4     5     6  

Hi,
I 'm new to MaxDB loader, and stuck in importing simple data into table. I 'm using MaxDB 7.5.08 on Linux.

Appreciate if anyone can help me out.

Table structure
================================Table "SCOTT.SYS_PARAM "
| Column Name | Type | Length | Nullable | KEYPOS |
| -- ---- ---- --- | -- ---- ----- | -- --- | -- ----- | -- ----- |
| CREATE_DATE | DATE | 10 | YES | ? |
| LAST_UPDATE_BY | VARCHAR ASCII | 32 | YES | ? |
| LAST_UPDATE_DATE | DATE | 10 | YES | ? |
| PARAM_CAT | VARCHAR ASCII | 10 | YES | ? |
| PARAM_DESC | VARCHAR ASCII | 50 | YES | ? |
| PARAM_ID | VARCHAR ASCII | 3 | YES | ? |
| PARAM_TYPE | VARCHAR ASCII | 2 | YES | ? |
| PARAM_VALUE | VARCHAR ASCII | 100 | YES | ? |

Loader command
================================loadercli -d sdb1 -u scott,tiger -b cmdfile -o test.out -E 100000

cmdfile = >
dataload table sys_param
ignore duplicates
PARAM_ID 1
PARAM_VALUE 2
PARAM_TYPE 3
PARAM_CAT 4
PARAM_DESC 5
CREATE_DATE 6
LAST_UPDATE_DATE 7
LAST_UPDATE_BY 8
infile 'sys_param.txt '
separator '| '
delimiter ' '
date 'yyyy-mm-dd '
NULL '_NULL_ '

Test data (sys_param.txt)
================================110|10|CS|Test|Maximum Login Retry|2003-11-26|2004-03-12|ECOU
150|6|SM|Test|Redemption Ref. Number Length(Max.8)|2003-11-26|2004-03-12|ECOU

Error received
// M Error at record 1 in infile.
// E -25301: Invalid input for date or time column: 2003-11-26
// M Last transaction committed at input record 0
// *
// M Sum of inserted records 0, sum of rejected records 1



Thanks,
Andy


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