Reputation: 81
How can I include the schema into my connection string inside my web.config.
Upvotes: 3
Views: 4445
Reputation: 131796
The schema is synonymous with user in oracle - you don't specify a schema in the connection string - you specify a username. Each user may or may not be an owner of database objects (tables, views, procedures, etc). To access the objects owner by another user (schema) you can either:
SCHEMA.OBJECTNAME
CREATE SYNONYM mytable
FOR otherschema.sometable
CREATE PUBLIC SYNONYM sometable FOR otherschema.mytable
Upvotes: 3