GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle  >  SQL
Go To First  |  Previous Question  |  Next Question 
 SQL  |  Question 14 of 171    Print  
There is a string 120000 12 0 .125 , how you will find the position of the decimal place?
INSTR('120000 12 0 .125',1,'.')
output 13



  
Total Answers and Comments: 3 Last Update: December 12, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 30, 2005 12:08:42   #1  
Phani Josyula        

RE: There is a string 120000 12 0 .125 , how you will find the position of the decimal place?
INSTR('120000 12 0 .125' 1 '.') is the right way of params.
 
Is this answer useful? Yes | No
September 18, 2005 22:09:53   #2  
prathima        

RE: There is a string 120000 12 0 .125 , how you will ...

INSTR('120000 12 0 .125 ' '.')

OR

INSTR('120000 12 0 .125 ' '.' 1)

for more information gothough the link below

http://www.dulcian.com/papers/Introduction 20to 20PLSQL.htm


 
Is this answer useful? Yes | No
December 12, 2006 08:21:17   #3  
rampratap409 Member Since: September 2006   Contribution: 111    

RE: There is a string 120000 12 0 .125 , how you will ...
select instr('1200023.56' '.') from dual;
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape