Tino Wildenhain schrieb:
RETURN extract(year FROM $1)*100+extract(month FROM $1)-1; was too clean and easy? ;)) Looks like a good oportunity to clean up your code before anything unexpected happens :-) Cheers T.
LOL. Yes I don't like such easy things :-P But you see i have a function so i simply can change it ;-) thnx for the hint, i picked up the best example ever :-P Daniel.