This is a discussion on BCP Between different versions of Sybase within the Sybase forums, part of the Database Server Software category; --> Hi All, We will update database on our office to version 15 very soon, but I have some doubts ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi All, We will update database on our office to version 15 very soon, but I have some doubts about, maybe you could help me on that. We have export/import procedures between many databases in our system, some of them are customer side. Then this databases won't be upgraded. The doubt is about these exp/imp procedures because for that we use BCP in/out. I wanna know if bcp has problems between different versions of sybase server. Any help is welcome. Tks |
| |||
| On Sep 5, 3:48*am, Michael <michelga...@gmail.com> wrote: > Hi All, > > We will update database on our office to version 15 very soon, but I > have some doubts about, maybe you could help me on that. > We have export/import procedures between many databases in our system, > some of them are customer side. Then this databases won't be upgraded. > The doubt is about these exp/imp procedures because for that we use > BCP in/out. I wanna know if bcp has problems between different > versions of sybase server. > > Any help is welcome. > Tks Are you using character (-c) or native (-n) mode bcp? I haven't seen any problems with character mode. I have in the past occasionally seen problems with native mode when the bcp format version changed and the same version of bcp was not used for both the extract and the insert. If using native mode, I'd recommend using the higher version of bcp to do both the extract and insert. Other problems usually have to do with changes in table definitions. For instance, it isn't uncommon to migrate syslogins from one server to another using bcp, however in some version upgrades additional columns have been added to syslogins - so the solution there is to either create a holding table on the higher version server that has the same format as the older version table, bcp into that, then insert-select into the real table adding literal values for the new columns - or alternatively, create a view on the older server that adds the additional columns and bcp out of that view. -bret |
| ||||
| Michael wrote: > We will update database on our office to version 15 very soon, but I > The doubt is about these exp/imp procedures because for that we use > BCP in/out. I wanna know if bcp has problems between different > versions of sybase server. If you keep your client bcp version the same you won't have any problems as ASE negotiates the TDS level to the lowest common denominator. So you could continue to use a 12.x bcp version with a 15.x server as the safest upgrade to give you time to test. |
| Thread Tools | |
| Display Modes | |
|
|
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sybase DBA, sybase Developer in France based company | sush | Sybase | 0 | 04-08-2008 07:03 PM |
| Does Sybase OpenSwitch support JDBC XA clients to Sybase DBMSes? | Joe Weinstein | Sybase | 0 | 04-08-2008 07:01 PM |
| Oracle DBA's Sybase trial out: 'lmgr' failed and 'minor' sybase database errors | JZ | Sybase | 3 | 04-08-2008 04:27 PM |
| Sybase Australia User Group Meeting 6th Nov '03 - Sybase presents HA demo | willy_and_the_ci | Sybase | 0 | 04-08-2008 04:04 PM |
| Sybase Australia User Group Meeting - Sybase presents HA with demo | willy_and_the_ci | Sybase | 0 | 04-08-2008 04:01 PM |