Visual Interdev Stored Procedure Bug - debugged! (ODBC)

Visual Interdev Stored Procedure Bug - debugged! (ODBC)

Post by Aaron Goldma » Sat, 30 May 1998 04:00:00



There's a bug in Visual Interdev that affects
saving or creating stored procedures.

The problem is that stored procedures that get
created fine in ISQL generate ODBC errors in
Visual Interdev (this really seems to be an ODBC
bug since the error message says ODBC and the
exact same behavior can be found in MS Access 97).

The answer is in the quotes:

Create Procedure test
As
 print "this doesn't work"
 return (0)

Create Procedure test
As
 print ' but this does work!'
 return (0)

ODBC doesn't like double quotes on the outside:

Create Procedure test
As
 print '  "this" does work too!'
 return (0)

And if you need a single quote just double it to
escape - use:

Create Procedure test
As
 print ' this ain''t no problem neither!'
 return (0)

enjoy the interdev - I think its great but man was
this bugging me.

aaron goldman

 
 
 

1. Visual Interdev Stored Procedure Bug - debugged! (ODBC)

There's a bug in Visual Interdev that affects
saving or creating stored procedures.

The problem is that stored procedures that get
created fine in ISQL generate ODBC errors in
Visual Interdev (this really seems to be an ODBC
bug since the error message says ODBC and the
exact same behavior can be found in MS Access 97).

The answer is in the quotes:

Create Procedure test
As
 print "this doesn't work"
 return (0)

Create Procedure test
As
 print ' but this does work!'
 return (0)

ODBC doesn't like double quotes on the outside:

Create Procedure test
As
 print '  "this" does work too!'
 return (0)

And if you need a single quote just double it to
escape - use:

Create Procedure test
As
 print ' this ain''t no problem neither!'
 return (0)

enjoy the interdev - I think its great but man was
this bugging me.

aaron goldman

2. pgsql/ /configure /configure.in hangeLogs/Chan ...

3. How to debug stored procedures in SQL 7.0 using Visual Interdev 6.0 or Visual Basic 6.0

4. How do we get rid of Old Backups?

5. Debugging Stored Procedures in Visual Interdev

6. Problems trying to delete an SQL Server login with access to 2 different databases

7. Stored Procedure Debugging in Visual Interdev

8. How to remove stored proc from memory?

9. Using MS Visual InterDev for Stored Procedure Debug

10. Stored Procedures debugging in Microsoft Visual InterDev 6.0

11. Strange thing while debugging in Visual InterDev 6.0 with ODBC

12. Stored Procedure, Temp Tables, ADO, Visual Interdev

13. Stored Procedures, VSS 6.0, and Visual Interdev 6.0