Chapter 14 System Procedures and Functions
985
Argument Description
ProductName
The name of the product (Sybase Adaptive Server
Anywhere)
ProductVersion The version number, followed by the build number. The
format is as follows:
6.5.02 (1200)
CompanyName Returns the following string:
Sybase Inc.
FileDescription Returns the name of the product, followed by the name of
the operating system.
LegalCopyright Returns a copyright string for the software
LegalTrademarks Returns trademark information for the software
None.
"System functions" on page 310
xp_msver returns product, company, version, and other information.
♦ The following statement requests the version and operating system
description:
select xp_msver( ’ProductVersion’) Version,
xp_msver(’FileDescription’) Description
Sample output is as follows:
Version Description
6.5.02 (1438)
Sybase Adaptive Server Anywhere Windows
NT
xp_read_file system procedure
Returns the contents of a file as a LONG BINARY variable.
[
variable
= CALL ] xp_read_file (
filename
)
DBA authority required.
"xp_write_file system procedure" on page 987
The function reads the contents of the named file, and returns the result as a
LONG BINARY value.
Permissions
See also
Description
Example
Function
Syntax
Permissions
See also
Description