Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: Data migration from ASE 11.9.2 to 16.0

$
0
0

Hi Mike,

 

Why don't you use bcp and ddlgen utilities to migrate data?

"ddlgen" supports 11.9.2 and you can extract DDL statements from 11.9.2
and then create them to new ASE 16 server.


For bcp-out scripts, you can create bcp-out scripts from 11.9.2 server like below.

 

use <user db>
go


select "bcp " + db_name() + ".<owner>." + name + " out " + name + ".out -c -U<user name> -P<password> &" from sysobjects where type = 'U'
go

 

For bcp-in you can make them using "in" instead of "out" from above statement.

 

select "bcp " + db_name() + ".<owner>." + name + " in " + name + ".out -c -U<user name> -P<password> &" from sysobjects where type = 'U'
go


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>