Solved

commad to create tablespace and indexspace

Posted on 2011-02-18
1
667 Views
Last Modified: 2012-05-11
hi,
whats is command to create  tablespace and Index table space.

Thanks
0
Comment
Question by:sam2929
1 Comment
 
LVL 45

Accepted Solution

by:
Kent Olsen earned 250 total points
ID: 34926613
Hi Sam,

Interestingly, CREATE TABLESPACE is the command to create a tablespace.  :)


To place the index in a particular tablespace, specify the location on the CREATE INDEX statement.

  CREATE INDEX idx001 (....) IN tablespacename;


Good Luck,
Kent
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
I am trying to query xml data stored in a db2 table 12 228
Convert DB2 function SecondsSinceFromTimestamp to SQL 2 90
Dynamic Query Need 9 84
iSeries DB2 Query 2 97
November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question