Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: sqlplus help
I'm not sure why it's doing that but I just tried removing the NUMBER
datatype (and let it default to CHAR) and it seemed to work fine.
ACCEPT MS PROMPT 'Enter the MS >'
The new value made the comparison just fine and worked without problem on my test dataset.
Hope that helps,
Karen
-----Original Message-----
Ravindra
Sent: Thursday, April 17, 2003 5:47 PM
To: Multiple recipients of list ORACLE-L
ACCEPT MS NUMBER PROMPT 'Enter the MS >' Enter the MS >2163836567
select col1,col2...from
where ms=&ms
old 2: WHERE MS = &MM
new 2: WHERE MS = 2.4e5
when we enter the number as 2163836567 it gets changed to decimal number in
the new value and the query fails.
this is happening in the sqlplus client 8.1.5 but works fine on sqlplus
8.1.7 client
no environment variables have been set.how to get this solved
thanks
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Basavaraja, Ravindra INET: Ravindra.Basavaraja_at_T-Mobile.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Thu Apr 17 2003 - 18:06:33 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Karen Morton INET: oracledba_at_morton-consulting.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |