简体   繁体   中英

Why Oracle prepend the Schema name to created procedures?

I'm connecting to a new Oracle database with Toad.

If a create a procedure like:

create or replace procedure MyProc...

After I compile it, the name automatically is changed to

 SchemaName.MyProc

This doesn't happen in other Oracle databases where I'm doing the same test.

Is that a database configuration?

Thanks!

If you open TOAD settings, you'll find it here:

  1. Editor - Open/save
  2. Object loading
  3. if set to "Always include", you'll see owner name (SCOTT in my example)
  4. if you set it to "Never include", owner name isn't visible any more

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM