db********@yahoo.com wrote:
about db2look, if i want to extract the ddl from one schema then
reproduce the database objects on different server with different
schema, is it a way to do it? e.g. we provide the same ddl structure
for different clients, but must be under different schema names for
different customers.
sed is your friend.
db2look -d sample -e -z test1 | \
sed -e 's/\"TEST1 \"\./\"JOE \"\./g'
Or, you can use any other text editor with search/replace functionality.
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----