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

What the is the diff between local index and global index. give some example.

1617


what are the default admin accounts in Oracle 10g ?

954


How to define a procedure inside another procedure?

999


What is logical backup in oracle?

999


Explain the use of Merge statement in oracle 11g

1011


Is there a combination of "like" and "in" in sql?

1035


what is Single Byte Overhead...?

2537


Describe the types of sub query?

980


What is enter substitution variable in oracle?

1028


How to create a stored program unit?

1194


How do you find out from the RMAN catalog if a particular archive log has been backed-up?

2095


What is difference between cartesian join and cross join?

1071


ABOUT IDENTITY?

2034


How to use "startup" command to start default instance?

1009


How to test null values?

1080