Re: [SQL] Recursive request ...

2003-07-12 Thread Rajesh Kumar Mallah
Dear Bournon, There are already good implementation of Tree structures in databases ranging from using pure SQL to PostgreSQL specfic methods , less point in revinting wheel unless u really need. Some Pointers: "Tree-structure functions" http://www.brasileiro.net:8080/postgres/cookbook/ Gist

Re: [SQL] trigger proceedures in sql

2003-07-12 Thread Rajesh Kumar Mallah
Yes of course! contrib/dbmirror does execute a procedure written in 'C' called recordchange() ON update , insert , delete. If you need help in getting its source lemme know. regds Mallah. On Thursday 10 Jul 2003 11:10 am, adivi wrote: > hi, > > can trigger proceedures ( procedures to be

Re: [SQL] Blobs

2003-07-12 Thread Rajesh Kumar Mallah
Sir Devi, This is PostgreSQL mailing List. If you need help porting applications from Oracle9i to PostgreSQL we might help. Or if you have generic SQL question not specific to any database we can also consider. for help in Oracle specific problems there may be more appropriate lists on the net

Re: [SQL] time date interval...

2003-07-12 Thread Bruno Wolff III
On Sat, Jul 12, 2003 at 09:00:19 +0200, Erik Thiele <[EMAIL PROTECTED]> wrote: > hi > > I am having problems with understanding of date/time/interval handling > in postgresql and sql in general. > > a,b are TIMESTAMP WITHOUT TIME ZONE > c is INTERVAL > > mathematics tell me: > > a-b = (a+c) -

[SQL] problem with temporary table.

2003-07-12 Thread Vijay Kumar
Hi,     We are using postgresql7.3.3, we are encountering some problems by using temporary tables.   Actually our requirement was,         1. create temporary table.         2. insert some values on that table by using some quries.     3. select the inserted values from the temporary ta

Re: [SQL] Problem with temporary table -- Urgent

2003-07-12 Thread Richard Huxton
On Thursday 10 Jul 2003 9:39 am, Vijay Kumar wrote: > Hi, > We are using postgresql 7.3.3, we are encountering the following problems > when we used temporary tables. > > Here with i'm sending my Sample function. > > create or replace function TestTemp_refcur(refcursor) returns refcursor As [snip]

[SQL] time date interval...

2003-07-12 Thread Erik Thiele
hi I am having problems with understanding of date/time/interval handling in postgresql and sql in general. a,b are TIMESTAMP WITHOUT TIME ZONE c is INTERVAL mathematics tell me: a-b = (a+c) - (b+c) is this also true in sql? if for example c is "1 year", then depending on the value of a and b