Sybase Adaptive Server Anywhere Reference page 1003

Table of Contents

Advertisement

Permissions
See also
Description
Example
xp_read_file system procedure
Function
Syntax
Permissions
See also
Description
Chapter 14 System Procedures and Functions
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
6.5.02 (1438)
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.
Description
Sybase Adaptive Server Anywhere Windows
NT
985

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents