StartDates

20 pts.
Tags:
Database Management Systems
How would you write the "Where" clause (sql) for abstracting just the "Year" out of a startdate like 03/12/2013 which would result in an answer of "2013"?

Software/Hardware used:
Acuate 8 (Espreadsheet 8)

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • alessandro.panzetta
    Use the DatePart function (http://www.w3schools.com/sql/func_datepart.asp)
    9,725 pointsBadges:
    report
  • CharlieBrowne
    Depends if it is defined as a date ot character or just numeric
    41,370 pointsBadges:
    report
  • TomLiotta
    Since Actuate (Spreadsheet) works over Excel spreadsheets rather than over any real "database", it's hard to guess what dialect of SQL would be used. There are numerous potential variations. I'd think first of a form that's compatible with Microsoft Access, then with SQL Server, and finally with actual standard SQL. . Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following