Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> SQL: bind variables for date used in query?

SQL: bind variables for date used in query?

From: Carsten Jacobs <carsten.jacobs_at_web.de>
Date: Fri, 8 Feb 2002 10:57:12 +0100
Message-ID: <a407do$1artvs$1@ID-21443.news.dfncis.de>


Hi,

if found the following problem while using bind variables in an sqlscript (no PL/SQL):

var startdate STRING;
var startdate := '21.01.2002 00:00:00';

The thing is, that the bind var 'startdate' contains a ' as the first character.

Does anybody know why this ' is in the variable?

Thanks
Carsten Received on Fri Feb 08 2002 - 03:57:12 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US