由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Re: recursive sql?
相关主题
Oracle DBA or MS SQL DBA? Which career path to choose?问个sql问题
SQL Server 2008 vs. Oracle 11g (from MS)Oralce for Linux 的问题
问一个转行到数据库方面的事,急求大家建议!How to delete Oracle SID?
advices please on learning OracleRe: How to populate data from text or MS ACCESS file to Oracle Database?
Re: Job with Oracle PL? (转载)Does anybody have a certificate of MSDBA?
Study Confirms: Oracle >> SQL Serveroralce 9i certificate
Oracle SQL Tunning Problem!oralce 9i 必须装在professional 的windows 版本上?
aks a simple SQL questionanalyze 在oracle里怎么用?
相关话题的讨论汇总
话题: sql话题: oracle话题: recursive话题: parent话题: child
进入Database版参与讨论
1 (共1页)
B*****n
发帖数: 135
1
For the second question, it's very easy with oracle.
Suppose you have a table like this:
SQL> select * from pt;
PARENT CHILD
b****e
发帖数: 1275
2
this is very cool! but oracle only right? where can I
find more documentation about this connect by prior thing..
thanks

【在 B*****n 的大作中提到】
: For the second question, it's very easy with oracle.
: Suppose you have a table like this:
: SQL> select * from pt;
: PARENT CHILD

a*****i
发帖数: 4391
3
It only works in Oracle 8 , IIRC.

【在 b****e 的大作中提到】
: this is very cool! but oracle only right? where can I
: find more documentation about this connect by prior thing..
: thanks

B*****n
发帖数: 135
4
you should be able to find more about
hierachical query under subquery in Oralce
8i's SQL Reference.

【在 b****e 的大作中提到】
: this is very cool! but oracle only right? where can I
: find more documentation about this connect by prior thing..
: thanks

b****e
发帖数: 1275
5
does this mean if i'm using ms sql or oracle 703 i'm basically
hopeless? (i mean i can probably get the data out and process
it in java or perl.. but probably no as efficient as doing it
in db)

【在 B*****n 的大作中提到】
: you should be able to find more about
: hierachical query under subquery in Oralce
: 8i's SQL Reference.

B*****n
发帖数: 135
6
i just checked oracle 7.3 doc and hiearchical query was
supported there... not sure about 703.

【在 b****e 的大作中提到】
: does this mean if i'm using ms sql or oracle 703 i'm basically
: hopeless? (i mean i can probably get the data out and process
: it in java or perl.. but probably no as efficient as doing it
: in db)

b****e
发帖数: 1275
7
oh my typo.. i meant 7.3.3.1 :)
right now not a problem for me since my client is using 8.0.. but
just wondering what if my client used ms sql :)

【在 B*****n 的大作中提到】
: i just checked oracle 7.3 doc and hiearchical query was
: supported there... not sure about 703.

1 (共1页)
进入Database版参与讨论
相关主题
analyze 在oracle里怎么用?Re: Job with Oracle PL? (转载)
做Oracle DBA很难吗?Study Confirms: Oracle >> SQL Server
Senior Teradata DBA wantedOracle SQL Tunning Problem!
美东有没有老中的oralce user group呀?aks a simple SQL question
Oracle DBA or MS SQL DBA? Which career path to choose?问个sql问题
SQL Server 2008 vs. Oracle 11g (from MS)Oralce for Linux 的问题
问一个转行到数据库方面的事,急求大家建议!How to delete Oracle SID?
advices please on learning OracleRe: How to populate data from text or MS ACCESS file to Oracle Database?
相关话题的讨论汇总
话题: sql话题: oracle话题: recursive话题: parent话题: child