Database Utilities (MOSC)

MOSC Banner

ORA-00959 (tablespace does not exist) when creating an external table whose user's default tablespac

edited Oct 23, 2014 8:26AM in Database Utilities (MOSC) 8 commentsAnswered

Hi,

A colleague of mine has just pointed out to me a problem regarding the creation of an external table on a schema whose user's default tablespace does not exist.

It throws the error ORA-00959 (tablespace does not exist). The problem is that you apparently cannot specify a TABLESPACE clause for an external table, since it's not supposed to be a real physical table anyway.

That's what I understand from the documentation anyway (in red my emphasis):

http://docs.oracle.com/cd/E11882_01/server.112/e25494/tables.htm#ADMIN12896

About External Tables

Oracle Database allows you read-only access to data in external tables.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center