cancel
Showing results for 
Search instead for 
Did you mean: 

DBUnload cut sometimes data

Former Member
2,690

Hi, I'm new to sybase, and I encounter strange error. When try to unload database using dbunload.exe -xx from my code it cut data when column has some KB of data. What can be wrong or has anyone had such error ?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Are you are using a driver (eg ODBC) to connect to the database?

We saw a problem where for large results, the driver would truncate the data because it did not allocate enough memory to hold the complete result.

Is the data truncated when you run dbunload directly from the command line?

Former Member
0 Kudos

Yes I'm using ODBC driver to connect to database, I think it is Sybase jConnect JDBC. Probably I didn't it use directly from command line because I need application to do this. The biggest problem is that on my instance of application dbunload started to work correctly however on the other one it fails. And I did nothing here. Any idea ?

VolkerBarth
Contributor
0 Kudos

I'd still recommend to use the exact command directly from the command line to see if that truncates data, too. (I have never ever run into this issue...).

IIRC, 11.0.1.2044 is the original 11.0.1 maintenance release and rather "old" nowadays, so you might as well try to use a current v11.0.1 EBF - cf. Breck's helpful EBF list here...

Former Member
0 Kudos

I did unloaded database from command line then I reloaded it using dbisql from command line and data wasn't trucated at all. But I think on the other machine it would fail, but I will check this out soon. To point that out I changed nothing so far. I'll keep you informed if this is fixed.