Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can this be done??? 1

Status
Not open for further replies.

mstrgrl

Technical User
Oct 14, 2003
44
US
I have an attribute which is Oracle datetime format. We need to truncate the time off the date (TRUNC(opendate) ); however, in the documentation I'm seeing for MSTR the TRUNC only works on a number data type.

Suggestions? Thanks!
 
If you just want to change how the attribute elements display, just change the form format type to Date. You don't need to do any pass-thru SQL.
 
You can use an applysimple in the attribute editor.

Something like

applysimple("trunc((#0), 'MM/DD/YYYY')" , [opendate])

 
Hi All
Please tell me if we can use max function while defining the attribute ,I tried using and it fails .

requiremnet : My requirement is to get max (Column1) as a value from the attribute how can I achieve this
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top