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.

Create PL/<strong>SQL</strong> Function, Procedure, or PackageColumn Name or Expression: A column name or column expression. A columnexpression is an expression built from columns, constants, <strong>SQL</strong> functions, anduser-defined functions. When you specify a column expression, you create afunction-based index.Order: ASC for an ascending index (index values sorted in ascending order); DESC fora descending index (index values sorted in descending order).Related TopicsDatabase Objects<strong>SQL</strong> <strong>Developer</strong> User InterfaceDialog Boxes for Creating/Editing Objects3.13 Create PL/<strong>SQL</strong> Function, Procedure, or PackageSpecify the following information for a PL/<strong>SQL</strong> subprogram (function or procedure)or a package to contain subprograms.Object Name: Name of the object. Must be unique within a schema.Object Type (if you have specified PL/<strong>SQL</strong> Subprogram and not a specific type ofobject): One of the following object types:■■FUNCTION: a function (returns a value)PROCEDURE: a procedure (does not return a value)■ PACKAGE: a package that can contain multiple functions or procedures, or acombination of functions and proceduresThe object is created and is displayed in the Editor window, where you can enter thedetails.For information about PL/<strong>SQL</strong> subprograms, see Subprograms and Packages: UsageInformation.Related TopicsDatabase Objects<strong>SQL</strong> <strong>Developer</strong> User InterfaceDialog Boxes for Creating/Editing Objects3.14 Create/Edit SequenceThe following information applies to a sequence, which is an object from whichmultiple users may generate unique integers. You can use sequences to automaticallygenerate primary key values.Schema: Database schema in which to create the sequence.Name: Name of the sequence. Must be unique within a schema.Increment: Interval between successive numbers in a sequence.Start with: Starting value of the sequence.Min value: Lowest possible value for the sequence. The default is 1 for an ascendingsequence and -(10^26) for a descending sequence.3-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!