Jun 27, 2003 #1 berryk MIS Feb 14, 2002 10 US If I have a number such as 67.0450123 and I want to pull out just the last three digits i.e. 123, what SQL command would I use to get at this? Would I have to turn it into a character first? Kb
If I have a number such as 67.0450123 and I want to pull out just the last three digits i.e. 123, what SQL command would I use to get at this? Would I have to turn it into a character first? Kb
Jun 27, 2003 1 #2 Turkbear Technical User Mar 22, 2002 8,631 US Hi, It takes a little type conversion, but this is the idea: Code: 1* select substr(to_char(12345.67892),-3) from dual SQL> / SUB --- 892 SQL> hth, Upvote 0 Downvote
Hi, It takes a little type conversion, but this is the idea: Code: 1* select substr(to_char(12345.67892),-3) from dual SQL> / SUB --- 892 SQL> hth,