Contains the text of a command that you want to issue against a provider.
Sets or returns a String value containing an SQL statement, a table name, or a stored procedure call. Default is "" (zero-length string).
Use the CommandText property to set or return the text version of the query in a Command object.
The contents of the CommandText property are specific to the provider and can be standard SQL syntax or any special command format that the provider supports.
If the Prepared property of the Command object is set to True and the Command object is bound to an open connection when you set the CommandText property, ADO prepares the query when you call the Execute or Open methods. Depending on the CommandType property setting, ADO may alter the CommandText property. You can read the CommandText property at any time to see the actual command text that ADO will use during execution.
|file: /Techref/language/asp/comp/daprop02_1.htm, 1KB, , updated: 1996/11/21 19:01, local time: 2022/8/9 07:26,
|©2022 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/language/asp/comp/daprop02_1.htm"> CommandText Property (ADO)</A>
|Did you find what you needed?|
PICList 2022 contributors:
o List host: MIT, Site host massmind.org, Top posters @20220809
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!