You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

Calculate days posted for a specific career site and not get duplicate rows

edited Dec 13, 2022 7:09AM in Taleo Enterprise 6 comments

Summary

Recommendation on SQL variable

Content

Hello,

I am calculation posting days for requisitions for the internal and external career site. My variables are generating two rows of data (one row with the calculation and one blank row).

Can someone take a look at these variables? I need two columns of data (# days posted internally, # days posted externally).

Thank you in advance for your help.

Alice Kim

 

# days posted internally

CASE WHEN "Requisition Posting"."Posting Source" = 'Internal CS' THEN TIMESTAMPDIFF(SQL_TSI_DAY,"Requisition Posting"."Posting Date",  "Requisition Posting"."Unposting Date") END

# days posted externally

CASE WHEN "Requisition Posting"."Posting Source" = 'External CS' THEN TIMESTAMPDIFF(SQL_TSI_DAY,"Requisition Posting"."Posting Date",  "Requisition Posting"."Unposting Date") END

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!