Convert Oracle Date into Crystal Reports -
i not experienced crystal reports, , can't seem figure out how convert oracle date date can use crystal reports. format field has number. ideas?
here few points must consider:
oracle returns date datatype column datetime object itself. means when do, example,
select birthdate emp
, birthdates of employees returned datetime values.this data of datetime type can handled crystal reports value combining . if want format data display, crystal report's date-time formatting functions.
if want pass date formatted string oracle crystal reports, there wonderful function
to_date
available in oracle. means, if giveselect to_date('birthdate', 'dd-mon-yyyy hh24:mi:ss') emp
, employee date ofvarchar2
type string, example,28-mar-1987 21:40:13
. more on oracle docs.
so, it's upto format date- in underlying sql statement or in crystal reports. have google little further options in crystal reports. have given solution in oracle sql.
Comments
Post a Comment