Yes there is. You will need to set the Command.Prepared property on the ADODB.Command object to True to achieve this.
The Command.Prepared = True statement takes the CommandText and pre-compiles it, so it's actually a little slower than a direct SQL statement the first time that it runs, but every time after that, it will be faster.
PreparedStatement in VB6
Jonathan Hseu
Yes there is. You will need to set the Command.Prepared property on the ADODB.Command object to True to achieve this.
The Command.Prepared = True statement takes the CommandText and pre-compiles it, so it's actually a little slower than a direct SQL statement the first time that it runs, but every time after that, it will be faster.
Regards,
Vikram