Jump to content

Not a Valid Month when passing Date to Oracle


randallsims

Recommended Posts

Hello,

I have a parameterized report that is passing a date back to Oracle. Oracle is picky about dates: it treats them as dd-MON-yyyy, and if it doesn't get it that way, it gripes.

I don't know what kind of formatting to apply to the date from jasperreports to make Oracle happy. Can someone give me their experience with this?

I've tried, to_date(<dateparam>,'mm/dd/yyyy') but it gives me the same error. The format mask has to match the input (i.e. the date coming from JasperReports) for this to_date function to work.

Thank you!

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...