calculation of pay based on dates

From: "Penchalaiah P(dot)" <penchalaiahp(at)infics(dot)com>
To: <paallen(at)attglobal(dot)net>, "Joel Richard" <postgres(at)joelrichard(dot)com>, <pgsql-sql-owner(at)postgresql(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "sql pgsql" <pgsql-sql(at)postgresql(dot)org>
Subject: calculation of pay based on dates
Date: 2007-07-13 10:12:08
Message-ID: A70AE049E81A6A40879D5DC0AC8C38C9096184BA@venus.infics.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


Hi ...

I want to fix the pay based on joining date and antedate...antedate is
the last date...

Joining date is 01-07-2007

Antedate is 04-07-2007..

On joining date I will fix the pay but before fixing the pay I will
check whether antedate is there or not, if its there then I will see
difference between 2 dates..if difference is 2 years then I will fix the
pay with increments...if difference is less than 2 years then I will fix
the pay with out increments...

Take an example of above 2 dates..there is no 2 years difference between
two dates...

01-07-2007 I will fix the pay...after 3 days current date =
antedate...so again I have to fix the pay with out my intervention...

Is there any jobs or schedules or triggers to call that function when
current date and antedate is equal...

Any one can help on this... I need it very soon....

Regards
Penchal

Information transmitted by this e-mail is proprietary to Infinite Computer Solutions and / or its Customers and is intended for use only by the individual or the entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at info(dot)in(at)infics(dot)com and delete this email from your records.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Gary Stainburn 2007-07-13 10:16:44 Re: calculation of pay based on dates
Previous Message A. Kretschmer 2007-07-13 07:46:18 Re: calling webservice through postgresql function