EasyManuals Logo

HP NonStop SQL/MP User Manual

HP NonStop SQL/MP
331 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #272 background imageLoading...
Page #272 background image
Character Processing Rules (CPRL) Procedures
HP NonStop SQL/MP Programming Manual for C—429847-008
11-8
CPRL_COMPAREOBJECTS_
The CPRL_COMPARE_ procedure returns these values:
string1
is an array containing the first string to be compared.
string1length
is the length in bytes of string1.
string2
is an array containing the second string to be compared.
string2length
is the length in bytes of string2.
result
indicates the result of the comparison, if the error code is 0 (zero):
cprladdr
is a pointer to the SQL collation or collation object.
CPRL_COMPAREOBJECTS_
The CPRL_COMPAREOBJECTS_ procedure compares two SQL collations or collation
objects to determine whether they are equal.
Code Description
0 The operation was successful.
–2 The SQL collation or collation object is invalid.
–4 The version of the SQL collation or collation object is not supported.
-1 string1 is less than string2.
0 The strings collate equally.
1 string1 is greater than string2.
#include <cextdecs(CPRL_COMPAREOBJECTS_)>
short CPRL_COMPAREOBJECTS_ (
long cprladdr1 /* i */
,long cprladdr2 ); /* i */

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP NonStop SQL/MP and is the answer not in the manual?

HP NonStop SQL/MP Specifications

General IconGeneral
BrandHP
ModelNonStop SQL/MP
CategorySoftware
LanguageEnglish

Related product manuals