Brackets around Stored Procedure in ADODB Command Text

Posted by KennerL90 on Stack Overflow See other posts from Stack Overflow or by KennerL90
Published on 2010-04-15T01:55:54Z Indexed on 2010/04/15 2:23 UTC
Read the original article Hit count: 439

Filed under:
|
|
|

Help me understand why this is happening!

I use the ADODB.Command object. The Command Text is set to the Stored Procedure Name.

Sometimes, if I DON'T add brackets around the stored procedure name, I get a Syntax Error or Access Violation error.

Sometimes, if I DO add brackets around the stored procedure name, I get a Syntax Error or Access Violation error.

© Stack Overflow or respective owner

Related posts about adodb

Related posts about vba