in reply to Re^4: Sybase::BCP
in thread Sybase::BCP
First, try the same thing with Sybase::BLK instead of Sybase::BCP. BLK uses the CT-lib based API which is required if your target table has any new features (such as row-level locking). The Sybase::BLK module has the same syntax as Sybase::BCP.
Second, try loading the data via bcp using this command line:
(obviously using correct values for "db", "table", etc.) That should mimic what Sybase::BLK will try to do (i.e. split on the tab and use \n for the row separator).bcp db..table in tmpfile -c -Uuser -Ppwd -Ssrv
Michael
update Sybase::BLK is part of sybperl, so you should already have it installed...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Sybase::BCP
by jilltw (Initiate) on Nov 03, 2004 at 16:11 UTC | |
by mpeppler (Vicar) on Nov 03, 2004 at 16:36 UTC |