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

Home -> Community -> Usenet -> c.d.o.server -> Re: Wierd problem Does C or Oracle pad a host variable with spaces in embedded SQL?

Re: Wierd problem Does C or Oracle pad a host variable with spaces in embedded SQL?

From: Jamie Keir <jkerr_at_jameswatt.ac.uk>
Date: Thu, 09 Apr 1998 09:34:18 +0100
Message-ID: <352C880A.1A05E4B6@jameswatt.ac.uk>


laz777_at_semaphore.com wrote:
>
> Jamie-
> This line wouldn't work, as strlen needs to be passed a properly null
> terminated string to correctly get it's length. :)
> > Ps. You could always try something like "Name[strlen(Name)] = 0;" in C.
> >

Duh! Of course. That'll teach me to only read every second line of a post...

Jamie Keir Received on Thu Apr 09 1998 - 03:34:18 CDT

Original text of this message

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