12.07.2015 Views

Oracle SQL Developer

Oracle SQL Developer

Oracle SQL Developer

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Database Objects■■■■■■■■Table: Table actions include Rename, Copy (create a copy using a different name),Drop (delete the table), Truncate (delete existing data without affecting the tabledefinition), Lock (set the table lock mode: row share, exclusive, and so on),Comment (descriptive comment explaining the use or purpose of the table),Parallel (change the default degree of parallelism for queries and DML on thetable), No Parallel (specify serial execution), and Count Rows (return the numberof rows).Export: Enables you to export some or all of the table data to a file or to the systemclipboard, in any of the following formats: XML (XML tags and data), CSV(comma-separated values including a header row for column identifiers), <strong>SQL</strong>Insert (INSERT statements), or <strong>SQL</strong> Loader (<strong>SQL</strong>*Loader control file). After youselect a format, the Export Table Data dialog box is displayed.Column: Column actions include Comment (descriptive comment about acolumn), Add, Drop, and Normalize.Index: Options include Create (create an index on specified columns), Create Text(create an <strong>Oracle</strong> Text index on a column), Create Text (create a function-basedindex on a column), and Drop.Storage: Options include Shrink Table (shrink space in a table, for segments intablespaces with automatic segment management) and Move Table (to anothertablespace). The Shrink Table options include Compact (only defragments thesegment space and compacts the table rows for subsequent release, but does notreadjust the high water mark and does not release the space immediately) andCascade (performs the same operations on all dependent objects of the table,including secondary indexes on index-organized tables).Analyze: Options include Compute Statistics (compute exact table and columnstatistics and store them in the data dictionary), Estimate statistics (estimate tableand column statistics and store them in the data dictionary), and ValidateStructure (verifies the integrity of each data block and row, and for anindex-organized table also generates the optimal prefix compression count for theprimary key index on the table). Both computed and estimated statistics are usedby the <strong>Oracle</strong> Database optimizer to choose the execution plan for <strong>SQL</strong> statementsthat access analyzed objects.Constraint: Options include Enable or Disable Single, Drop (delete a constraint),Add Check (add a check constraint), Add Foreign Key, and Add Unique.Privileges: If you are connected as a database user with sufficient privileges, youcan Grant or Revoke privileges on the table to other users.■ Trigger: Options include Create, Create PK from Sequence (create a before-inserttrigger to populate the primary key using values from a specified sequence),Enable or Disable All, Enable or Disable Single, and Drop (delete the trigger).You can perform the following operations on a column in a table by right-clicking thecolumn name in the Connections navigator and selecting an item from the menu:■■■■Rename: Renames the column.Drop: Deletes the column (including all data in that column) from the table.Encrypt (for <strong>Oracle</strong> Database Release 10.2 and higher, and only if the TransparentData Encryption feature is enabled for the database): Displays a dialog box inwhich you specify a supported encryption algorithm to be used for encrypting alldata in the column. Current data and subsequently inserted data are encrypted.Decrypt (for <strong>Oracle</strong> Database Release 10.2 and higher, and only if the TransparentData Encryption feature is enabled for the database): Decrypts data in the column1-10 <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!