Solved

commad to create tablespace and indexspace

Posted on 2011-02-18
1
664 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:
Kdo 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AS400 Single Sign On 3 1,256
ODBC connect from ms access to DB2 3 84
DB2 CONCAT FAILING 4 111
Access VBA Query Def to DB2 Pass-through- Make variable value accessible to a Report. 4 49
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 (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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