I created a user in oracle using the following.
create tablespace user3_ts
logging
datafile 'user3_ts'
size 32m
autoextend on
extent management local;
create user user3
identified by password3
default tablespace user3_ts
TEMPORARY TABLESPACE user3_ts
grant connect to user3
grant create session, create table, create view to user3
When I connect to oracle using corelab, it connects me to the system tablespace and not the user3_ts tablespace. How do I get corelab to see only the user3_ts tablespace and not the system tablespace when issuing queries or programmatically creating tables?
Thanks,
Irfan
Connecting to a tablespace
OraDirect .NET operates same way as other providers.
You can connect to any schema very simple. Just connect to appropriate user, and this will be connection to his schema. Then you can executeand switch to another schema. A tablespace will be that, in which current schema resides.
For more information please see Oracle documentation.
You can connect to any schema very simple. Just connect to appropriate user, and this will be connection to his schema. Then you can execute
Code: Select all
ALTER SESSION SET CURRENT_SCHEMA = ...
For more information please see Oracle documentation.