Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


select to_char('10','10')
from dual
This gives me an error oRA-1481 INVALID NUMBER FORMAT MODEL

why? pls help

Answer Posted / kumar

We can use TO_CHAR function in two ways.
1. To convert a number into a character.
TO_CHAR(-) will take one parameter i.e, number
2. To convert a date into a character.
TO_CHAR(-,-) will take two parameters
i) first parameter is the date
ii) Second parameter is format in which we have to
convert, that to the second parameter should be enclosed
with single Quotes.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you edit your CRONTAB to schedule the running of /test/test.sh to run every other day at 2PM?

1846


What is a trace file and how is it created in oracle?

974


What is the difference between sharding and replication?

956


What do you mean by group by clause?

977


Explain view?

979


What is the database name in oracle?

972


Hi this srilatha. I comlpeted my Oracle-hrms. can u provide me interview questions on Core hr, payroll,sshr,OLM etc..

2068


What is the relation of a user account and a schema in oracle?

1007


What are the differences between date and timestamp in oracle?

974


Which environment variables are absolutely critical in order to run the OUI?

2071


How many types of segments in Oracle?

1014


How to put more than 1000 values into an oracle in clause?

974


What are the different types of synonyms?

1078


Explain the use of control file?

1061


How do you find current date and time in oracle?

989