Click or drag to resize

SQLSelect Constructor (Typed)

X#
Construct a SQL select object.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOSQLClasses (in XSharp.VOSQLClasses.dll) Version: 2.19
Syntax
 CONSTRUCTOR(
	cSQLSelect,
	oSQLConnection
) CLIPPER
Request Example View Source

Parameters

cSQLSelect (Optional)
Type: Usual
A SQL select statement (for example 'SELECT * FROM employee').
oSQLConnection (Optional)
Type: Usual
The SQL connection indicating where the table can be found. If not specified, the current default connection is used, if any; if none is defined, the system asks the end user to log on to a database.

Return Value

Type: 
As with all Init() methods, the instantiation returns the object. An object is created even if the table was not successfully opened, perhaps because the table does not exist, is corrupted or is locked by another user.
See Also