Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted by sxpert ( 14 years ago )
do $$
    declare
        t_date_begin date;
 t_date_end   date;
 t_interval   interval;
    begin
        t_date_begin := '2012-08-01';
 t_date_end := '2012-10-01';
 t_interval := t_date_end - t_date_begin;
 raise notice '%', t_interval;
    end;
$$;

 

Revise this Paste

Children: 56168
Your Name: Code Language: