Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: trailing spaces
Daniel Morgan wrote:
> Frank wrote:
>
>> Ravi Tallury wrote: >> >>> Hi >>> When i do a select '1' from dual from one instance of the database, i >>> get only a >>> single chanrecter. >>> >>> However when i run the same query from an other instance, i get a >>> blank padded string. This has been causing problems in our application >>> because of logic we use, any help in figuring out the reason and the >>> remedy would be quite helpful. >>> >>> Thanks >>> Ravi >> >> >> >> 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'.
But that was not in the OP's message. When I do a select '1' from dual. That's all. Of course, selecting INTO a right padded object type is something different (but might be the case here)
-- Regards, Frank van BortelReceived on Sun Dec 14 2003 - 14:21:39 CST