Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old April 25th, 2004, 11:24 PM
rganesh rganesh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 30 rganesh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m
Reputation Power: 5
sql queries to rdbms

Hi there
I would like to create realtion database for an application .I have uploaded the screenshot of a similar application here.
http://rganesh.t35.com/
please have a look at the screen shot
look for the alternate path ,primary paths ,non primary paths option at the bottom .The first one shows the routing schedule for each parts and the second one shows the primary path and alternat part for the path 90-b091x-500.It may include sum subparts 87-B091x-50E_ADB shown in the second one

give me an idea to start with ,using the above screenshot how to create the database with tables and structures so that the queries could run faster and effective
give me the sql queries that i should be using to create such a relational database


refer to the second document tree.doc in the link http://rganesh.t35.com .In that if i want to retrieve the parent node I will do something like this
SELECT *
FROM [table]
WHERE NOT EXISTS
(SELECT * FROM structure WHERE structure.childId=[table].keyid)
but how about retreving an element named C.In the front end when u click on c it shud display c,d,e(since they are the child process of c). how can i write the sql query for that .please reply asap


thanks
ganesh

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > sql queries to rdbms


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway