Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: trailing spaces
Frank wrote:
> Ravi Tallury wrote: >
> > > I would really like to know the origin of this problem; it seems > very, very odd that a basic thing like select '1' from whatever > would return anything else than '1'.
One posibility is as follows:
DECLARE x CHAR(10);
BEGIN
SELECT '1' INTO x FROM dual;
DBMS_OUTPUT.PUT_LINE(x);
END;
/
But I agree with your thinking.
-- Daniel Morgan http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Sun Dec 14 2003 - 14:04:27 CST