From: | Jamie Deppeler <jamie(at)doitonce(dot)net(dot)au> |
---|---|
To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | rules |
Date: | 2004-11-26 05:35:04 |
Message-ID: | 41A6C088.2090507@doitonce.net.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
This may be a bit of stupid question but it is the first time i have
played around with rules and i am trying to convert a sql statement into
a rule
sample sql querty
INSERT INTO schema.table2
(
"field1",
"field2",
"field3",
"field4",
"field5",
"field6",
"field7",
"field8",
"field9",
)
VALUES
(
SELECT
table1."name",
table1.notes,
table1.hrs,
table1.days,
table3.value,
table31.value,
table4.ratename,
table4.maxhrs,
table4.appliesafter,
table4.rate,
table5.value,
table5."name"
FROM
(inner joins)
Where
primary = number
)
which i would like to make into a rule if possible
From | Date | Subject | |
---|---|---|---|
Next Message | Nikola Milutinovic | 2004-11-26 06:35:54 | PostgreSQL slow after VACUUM |
Previous Message | felix | 2004-11-26 03:55:55 | Re: off Topic: Looking for a good sql query |