0 then VVOt%d
Response.Write 错误 : & err.description & N<WFe5
response.end L1BpY-=
End if 'z:p8"h}
End Sub b.+\qaR
Sub EndDB() .(ir2g
Set objOraDB = Nothing ya=51~ by"
Set objOraSession = Nothing I'hQbLlG
End Sub `$HO`d@0*R
Function getTableList(str) <NO~TBHF
Dim strSql,strTmp /;1FZ<zU
Dim objRs /0(KKZ)
strSql = Select at.table_name as tname,au.username as uname from all_tables at,all_users au Where au.username=at.owner order by au.username \h4y,sl
Set objRs = objOraDb.DbCreateDynaset(strSql,0) *qBZi;1
While Not objRs.Eof cx)
EFy.
strA = objRs(uname) & . & objRs(tname) [OSUARm
v
29oEkaX2o
If str=strA then ]Re<7_xt
strTmp = strTmp & & strA & xOlkG*3c
Else
lNw?}H
strTmp = strTmp & & strA & kzu=-@s
End if )2S\:&x
objRs.MoveNext DQ$/0bq
Wend V"XN(Fd^
Set objRs = Nothing ,8seoX^
getTableList = strTmp ai RNd~\
End Function ~r3g~MCHS
% > mLO6`]p{H
)ej8vm
`1gsrHi4N
lVHJ}(<'p
WP9=@X Z
All Tables : o-_a0j
ikC;N5Sw
=v-D}eJQ=
5o*x?P!$
c-F&4V
() >8so'7(
YuZnuI@m9
)C[8#Q-:
]Az >W*Y
QG.FW;/L,
v*pVcBY>
then 9viC3bj. o
strSql = Select * from & tblname "rtmDNpL
Set Rs = objOraDb.DbCreateDynaset(strSql,0) 5h&8!!$[
Response.Write ;A_QI>>
for i=0 to rs.Fields.count-1 z; +x`i.
Response.Write & rs.fields(i).name & smggr{-
next &x3y.}1
Response.Write x8[8z^BV?e
While Not Rs.Eof pH%K4bV)8
Response.Write gd*\,P
for i=0 to rs.fields.count -1 !TcjB;q'
Response.Write & Rs.Fields(i).Value & "F&uk~ b$
next 827N?pU$)
Response.Write o,L !F`W
Rs.MoveNext WW.=>]7;
Wend uB
BE!w_
Set Rs = Nothing G+ToZ&f@
end if e=U7w7(s9
% > Yi:+,-Fso
B^
h!F8DC
P06K0Fxf
yI!K
quMC
" 1Bn/Q
转自: ASP教程采集