PreviousNextIndex

DBCOLLATION function

Returns, as a character string, the name of the collating sequence for character set information contained in the database. This name corresponds to the definition of the collating sequence contained in the convmap.dat file, which usually resides in the $DLC directory. If any parameter is invalid, DBCOLLATION returns the Unknown value (?).

Syntax

DBCOLLATION 
  ( { integer-expression | logical-name | alias } ) 

integer-expression
logical-name or alias
Example

This procedure displays the logical name and collation of all connected databases:

r-dbcoll.p
DEFINE VARIABLE ix AS INTEGER NO-UNDO 
. 
REPEAT ix = 1 TO NUM-DBS: 
  DISPLAY LDBNAME(ix) DBCOLLATION(ix) FORMAT "x(19)". 
END. 

Notes
See also

ALIAS function, CONNECT statement, CONNECTED function, CREATE ALIAS statement, CREATE CALL statement, DATASERVERS function, DBCODEPAGE function, DBRESTRICTIONS function, DBVERSION function, DELETE ALIAS statement, DISCONNECT statement, FRAME-DB function, LDBNAME function, NUM-DBS function, PDBNAME function, SDBNAME function


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex