pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedhi i want help on levels
2+ messages / 2 participants
[nested] [flat]
* hi i want help on levels
@ 2006-10-16 14:47 Penchalaiah P. <penchalaiahp@infics.com>
0 siblings, 1 reply; 2+ messages in thread
From: Penchalaiah P. @ 2006-10-16 14:47 UTC (permalink / raw)
To: pgsql-sql
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: hi i want help on levels
@ 2006-10-18 23:18 Jim C. Nasby <jim@nasby.net>
parent: Penchalaiah P. <penchalaiahp@infics.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jim C. Nasby @ 2006-10-18 23:18 UTC (permalink / raw)
To: Penchalaiah P. <penchalaiahp@infics.com>; +Cc: pgsql-sql
Search the archives for hierarchical query.
--
Jim Nasby jim@nasby.net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-10-18 23:18 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-10-16 14:47 hi i want help on levels Penchalaiah P. <penchalaiahp@infics.com>
2006-10-18 23:18 ` Jim C. Nasby <jim@nasby.net>
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