File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes to_char in mysql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "to_char in mysql" Watch "to_char in mysql" New topic

to_char in mysql

sravani gogineni
Ranch Hand

Joined: Feb 09, 2011
Posts: 33
i need to re write my sql statments from oracle to mysql.
could you please let me know what is to_char in msql.

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33102

There is a format() function. to_char can convert from different source formats and the way to do it would vary though. What to_char() parameters do you have now?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: to_char in mysql
It's not a secret anymore!