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!

month(inputdate)??? 1

Status
Not open for further replies.

Tracey

Programmer
Oct 16, 2000
690
NZ
hi

i was hoping to have a query something like this:

select rateid from rate r
left outer join machinerate mr on mr.rateid = r.rateid
where mr.machineid = :machineid
and r.ratemonth = month(?startdate)
and r.rateyear = year(?stardate)

but interbase doesnt seem to have the month() and year() functions like mssql (ick.. sorry i had to say that)

are there equivalent functions??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top