×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Tenure - Dervied Field

Tenure - Dervied Field

Tenure - Dervied Field

(OP)
I'm trying ot use information from other posts to create a derived field for Tenure and I'm getting an error saying the DATEDIF is not valid. Can someone assist? I just want to know tenure based on hire/rehire date (whichever is greater of those two dates).

Thanks!

Using ReportSmith 3.10

Shane

RE: Tenure - Dervied Field

What Brand (Oracle, SQLServer...) database are you using ?  For example there is no DATEDIFF function in Oracle.  Also could you post your formula.

http://CharlesCook.com
Specializing in ReportSmith Training and Consulting

RE: Tenure - Dervied Field

(OP)
I think we're SQL.

RE: Tenure - Dervied Field

Hi,

SQL is not the brand.  SQL is like minivan or pickup or SUV (type).  Oracle is like Ford or Chevy or Dodge (Brand).

I need to know the brand as the SQL syntax is brand specific.  For example Oracle syntax it different from SQL Server and Gupta etc.

http://CharlesCook.com
Specializing in ReportSmith Training and Consulting

RE: Tenure - Dervied Field

(OP)
I'm told it's Oracle.

RE: Tenure - Dervied Field

Quote (salbrandt):

I'm getting an error saying the DATEDIF is not valid.

Quote (CharlesCook):

For example there is no DATEDIFF function in Oracle.

Quote (salbrandt):

I'm told it's Oracle.
I think we will need to start from the beginning.  Define Tenure.  Is it Current Date -

Quote (salbrandt):

hire/rehire date (whichever is greater of those two dates).
What unit of measure (days or months or years).

http://CharlesCook.com
Specializing in ReportSmith Training and Consulting

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close