12.07.2015 Views

Oracle SQL Developer

Oracle SQL Developer

Oracle SQL Developer

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Database Objects1.2 Database ObjectsYou can create, edit, and delete (drop) most types of objects in an <strong>Oracle</strong> database byusing the right-click menu in the Connections navigator or by clicking the Actionsbutton in the detail pane display. For some objects, you can do other operations, asappropriate for the object type.Note: The actions available from right-click menus and Actionsbuttons depend on the <strong>Oracle</strong> Database release number for thespecified database connection. If an action mentioned in the help isnot available with a connection, it may be that the feature was notavailable in that release of <strong>Oracle</strong> Database.1.2.1 Database Links1.2.2 DirectoriesRelated Topics<strong>SQL</strong> <strong>Developer</strong> Concepts and UsageTutorial: Creating Objects for a Small DatabaseSupplementary <strong>Oracle</strong> Database InformationA database link is a database object in one database that enables you to access objectson another database. The other database need not be an <strong>Oracle</strong> Database system;however, to access non-<strong>Oracle</strong> systems you must use <strong>Oracle</strong> Heterogeneous Services.After you have created a database link, you can use it to refer to tables and views inthe other database. For help with specific options in creating a database link, seeCreate/Edit Database Link.You can perform the following operations on a database link by right-clicking thedatabase link name in the Connections navigator and selecting an item from the menu:■■Test: Validates the database link.Drop: Deletes the database link.A directory object specifies an alias for a directory (called a folder on Windowssystems) on the server file system where external binary file LOBs (BFILEs) andexternal table data are located. To create a directory (that is, a directory object), you canuse <strong>SQL</strong> <strong>Developer</strong> or the <strong>SQL</strong> statement CREATE DIRECTORY.You can use directory names when referring to BFILEs in your PL/<strong>SQL</strong> code and OCIcalls, rather than hard coding the operating system path name, for managementflexibility. All directories are created in a single namespace and are not owned by anindividual schema. You can secure access to the BFILEs stored within the directorystructure by granting object privileges on the directories to specific users.You can perform the following operations on a directory by right-clicking the directoryname in the Connections navigator and selecting an item from the menu:■■Rename: Renames the directory.Drop: Deletes the directory.1-6 <strong>SQL</strong> <strong>Developer</strong> Online Help

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!