364,036 Members | 5533 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

Create schema

heartwork
P: 2
Hi,

I need to create a new schema on new systems on DB2 v9.5/9.7 on AIX 64 (no GUI available) and this schema should be identical with an already existing one on other system.
The statement (not that complex) looks like:
>>-CREATE SCHEMA------------->
schema-name
+-AUTHORIZATION--authorization-name
'-schema-name--AUTHORIZATION--authorization-name-'
>--+--------------------------+----><
'---schema-SQL-statement-+-'

How can I find how this existing schema was created in the past to use the same statement to create my schema? What commands do I have to use and what system tables I should check?

Thanks.
Jan 11 '12 #1
Share this Question
Share on Google+
1 Reply


heartwork
P: 2
I noticed some information can be gathered from SYSCAT.SCHEMATA
Jan 11 '12 #2

Post your reply

Help answer this question



Didn't find the answer to your DB2 Database question?

You can also browse similar questions: DB2 Database