Garayed.com  

Go Back   Garayed.com > Oracle
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-09-2005, 11:49 PM
Matthias Wirtz
 
Posts: n/a
Default TRIM and SUBSTR not working

Hi,

I jus wonder why TRIM and SUBSTR are not working on one Oracle9i database
server:

SQL*Plus: Release 9.2.0.1.0 - Production on Thu Feb 10 11:47:01 2005

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.


Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production

stat@STAT2> select TRIM('Hello ') o from dual;

O
---------------------------
Hello



You see that the string is not trimmed. I would expected (and actually it is
on a different box) the output like this:

O
-----
Hello


Same happen with SUBSTR, doesn't work. But why is this different? Are there
any default sql*plus settings that I'm not aware off?

--
Matthias Wirtz - Norfolk, usa
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:43 PM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.