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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

postgreSQL for months consume..

Status
Not open for further replies.

raynoel

Programmer
Jul 10, 2006
8
PH
Hello agaiN!! :)

I used

age(timestamp 'enrollmentdate') AS "Months Consume" ;

to see how many months they alreaady consume, but error message state that

****
ERROR: invalid input syntax for type timestamp: "enrollmentdate"
***

though when you try to query the enrollmentdate it will
show you the date of the enrollment... why is it?
any bright ideas?

pls..
thnx..

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top