Provides a mechanism for storing and re-executing a SQL statement. You must assign a variable of the PSCommandClass type before you can create an instance of the object or call methods on it.
PSCommandClass ( strSql, conn)
PSCommandClass constructor |
Datatype |
Description |
---|---|---|
strSql |
String |
SQL statement you want to execute |
conn |
PSConnectionClass |
Object you use to connect to the database where you want to execute the SQL statement |
PSCommandClass method |
Description |
---|---|
Executes a SQL command |
|
Obsolete method that was previously used for PowerDynamo or ASP targets |