Navigation:  ThinBASIC Modules > ADODB > ADODB Module Classes > ADODB_Command > ADODB_Command Properties >

<ADODB_Command>.CommandText

Previous pageReturn to chapter overviewNext page

 

Description

 
Sets or returns a string that contains a provider command, like a SQL statement, a table name, a relative URL, or a stored procedure call.

 

Syntax

 

GET

s = <ADODB_Command>.CommandText

 

SET

<ADODB_Command>.CommandText = sCommandText

 

Returns

 

String: current command string.

 

Parameters

 

Name

Type

Optional

Meaning

sCommandText

String

Yes

A string that contains a provider command, like a SQL statement, a table name, a relative URL, or a stored procedure call.

 

 

Remarks

 

Restrictions

 

See also

 

Examples