OC GET PROCEDURE LIST

4D - Documentation   Français   English   German   4D ODBC, Command Theme List   4D ODBC, Command Alphabetical List   Back   Previous   Next

version 1.5


OC GET PROCEDURE LIST (cursor_ID; db_Array; owner_Array; proc_Array; type_Array)

ParameterTypeDescription
cursor_IDLongintCursor ID
db_ArrayString ArrayList of database names
owner_ArrayString ArrayList of owner names
proc_ArrayString ArrayNames of the procedures
type_ArrayString ArrayList of procedure types

Description

The OC GET PROCEDURE LIST command enables you to obtain a list of stored procedures on the ODBC data source.

cursor_ID must be the ID of a previously created and inactive cursor.

db_Array is the name of a string array that will accept the list of database names where the procedures reside.

owner_Array is the name of a string array that will accept the list of owner names for the procedures.

proc_Array is the name of a string array that will accept the names of the procedures.

type_Array is the name of a string array that will accept the values of the list of procedure types.

Example

The following method loads the list of stored procedures into arrays:

   ARRAY STRING(30;arDB;0)
   ARRAY STRING(30;arOwn;0)
   ARRAY STRING(30;arProc;0)
   ARRAY STRING(30;arType;0)
   If(arTab#0)
      OC GET PROCEDURE LIST(cur_id;"arDB";"arOwn";"arProc";"arType")
   Else 
      ALERT("select a table in the table name array !")
   End if 

4D - Documentation   Français   English   German   4D ODBC, Command Theme List   4D ODBC, Command Alphabetical List   Back   Previous   Next