From: Penchalaiah P. <penchalaiahp@infics.com>
To: pgsql-sql@postgresql.org
Subject: hi i want help on levels
Date: Mon, 16 Oct 2006 20:17:01 +0530
Message-ID: <A70AE049E81A6A40879D5DC0AC8C38C90756DF62@venus.infics.com> (raw)
CREATE TABLE admin_activity
(
activity_id int4 NOT NULL,
Activity_name varchar NOT NULL,
URL varchar,
parent_activity_id int4);
1 Administration 0
2 Activities 1
3 Manage Activity 2
4 Map Activity Role 2
5 Allowance 1
6 Bank 1
7 Code Head 1
8 Corps 1
9 DSOP 1
10 Entitlements 1
These r the values to that table...
I want like this... tell me the query for this...
Administration -> Manage Actvities -> Create Activity
==> Update Activity
==> Delete Activity
Admin 1
Activity_id activity_name parent_id
_____________________________________________
1 Admin null
2 ` Manage activities 1
3 Create Activity 2
4 Update Activity 2
5 Admin1 null
6 Delete Activity 2
Thanks & Regards
Penchal reddy | Software Engineer
Infinite Computer Solutions | Exciting Times...Infinite Possibilities...
SEI-CMMI level 5 | ISO 9001:2000
IT SERVICES | BPO
Telecom | Finance | Healthcare | Manufacturing | Energy & Utilities |
Retail & Distribution | Government
Tel +91-80-5193-0000(Ext:503)| Fax +91-80-51930009 | Cell No
+91-9980012376|www.infics.com
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 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.in@infics.com and delete this mail from
your records.
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.in@infics.com and delete this email from your records.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: penchalaiahp@infics.com
Subject: Re: hi i want help on levels
In-Reply-To: <A70AE049E81A6A40879D5DC0AC8C38C90756DF62@venus.infics.com>
References: <A70AE049E81A6A40879D5DC0AC8C38C90756DF62@venus.infics.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox