HPlogo ALLBASE/SQL Database Administration Guide: HP 3000 MPE/iX Computer Systems > Chapter 8  System Catalog

System.Paramdefault

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

SYSTEM.PARAMDEFAULT contains information about the default values of parameters that may be passed to and from procedures.

SYSTEM.PARAMDEFAULT is initially empty, and it is updated whenever ALLBASE/SQL processes a CREATE PROCEDURE, DROP PROCEDURE, or TRANSFER OWNERSHIP statement for a procedure that includes default parameter values.

If a TRANSFER OWNERSHIP is done on the procedure, the owner field in this view is updated with the Name of the new owner.

For literal default values, the source string containing the default value specification is stored in segments of up to 64 bytes.

Only BINARY or CHARACTER string columns may require more than one 64 byte segment. All other data types can fit in a 64 byte field.

Table 8-20 System.Paramdefault

Column NameTypeLengthDescription
NAMECHAR20Name of the parameter with a default
PROCNAMECHAR20Name of the procedure containing this parameter
OWNERCHAR20Owner of the procedure
SEGNUMSMALLINT2Segment number
SEGLENSMALLINT2Length of segment in bytes
DEFAULTVALCHAR64Literal value string segment

 

Example



   SELECT Name, ProcName, Owner FROM System.Paramdefault;

   ------------+--------------------+--------------------

   NAME        |PROCNAME            |OWNER              

   ------------+--------------------+--------------------

   SHIFTNAME   |PROCESS12           |PURCHDB

   ------------------------------------------------------

   Number of rows selected is 1

   U[p], d[own], l[eft], r[ight], t[op], b[ottom], pr[int] <n>,or e[nd]> e





   SELECT SegNum, SegLen, DefaultVal FROM System.Paramdefault;

   ------+------+--------------------------------------------------------------

   SEGNUM|SEGLEN|DEFAULTVAL

   ------+------+--------------------------------------------------------------

        1|     3|Day

   ----------------------------------------------------------------------------

   Number of rows selected is 1

   U[p], d[own], l[eft], r[ight], t[op], b[ottom], pr[int] <n>,or e[nd]> e


Feedback to webmaster