ADO, Parameters and SQL comments - is this a bug?
From: Martijn Tonies (m.tonies_at_upscene!nospam!.com)
Date: 01/20/04
- Next message: ken brewer: "Re: form controls out of sync with dataset"
- Previous message: Mike Walsh: "Re: How to convert NULL value to a empty string? (Sorry, does't work)"
- Next in thread: Ignacio Vazquez: "Re: ADO, Parameters and SQL comments - is this a bug?"
- Reply: Ignacio Vazquez: "Re: ADO, Parameters and SQL comments - is this a bug?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 20 Jan 2004 21:52:22 +0100
Hi,
It seems the ado components also parses for parameters
inside SQL comments /* ... */
That is, this will give you one parameter:
SELECT somecolumn
FROM sometable
/* WHERE commented out but still :param */
-- With regards, Martijn Tonies Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL Server. Upscene Productions http://www.upscene.com
- Next message: ken brewer: "Re: form controls out of sync with dataset"
- Previous message: Mike Walsh: "Re: How to convert NULL value to a empty string? (Sorry, does't work)"
- Next in thread: Ignacio Vazquez: "Re: ADO, Parameters and SQL comments - is this a bug?"
- Reply: Ignacio Vazquez: "Re: ADO, Parameters and SQL comments - is this a bug?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|