If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Folks ! Very interesting !

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-08-04, 03:50
SamCute SamCute is offline
Registered User
 
Join Date: Mar 2004
Posts: 205
Folks ! Very interesting !

Hi Folks,

Please clarify the following :

1) In DB2 8.1, I have heard of 'IN tablespace_name' , but Is there anything called 'IN DATABASE tablespace_name' ? If so in which version of DB2, this syntax exists ?

2) How to create a tablespace in prior to a create table statement ?

3) Is there any keyword 'AUDIT' in DB2 ? If so Please explain the same.

Eg :

create table test(sno int) IN DATABASE tablespace1 AUDIT NONE DATA CAPTURE NONE

Please explain the above if you have come across the syntax.

Thanks,
Sam
Reply With Quote
  #2 (permalink)  
Old 06-08-04, 04:22
Marcus_A Marcus_A is online now
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
That is syntax on DB2 for OS/390 and z/OS. You can download the SQL Reference here:
http://www-306.ibm.com/software/data...s/library.html

Note that a database is a completely different object on mainframe DB2 compared to a database on other DB2 versions.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On