Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Foreign Key Index Tablespace

Status
Not open for further replies.

Thiko

Programmer
Mar 9, 2001
49
GB
When doing an alter table statement to add a foreign key is it possible to specify which tablespace you want the index to go into?

ALTER TABLE mediaitemrep
ADD CONSTRAINT mediaitemrep_mediaitem_fk FOREIGN KEY (mediaitemid)
REFERENCES mediaitem(mediaitemid)
/ Many Thanks.

Thiko!
 
You may create index before creating constraint
 
Can you not do..

using tablespace <tablespace_name>

at the end of the statement?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top