0 then ^*-6PV#Z
Response.Write 错误 : & err.description & L'A>IBrz
response.end P84uEDY
End if *{K?JB#W
End Sub A3su!I2S
Sub EndDB() D=>[~u3H
Set objOraDB = Nothing _zuX6DO
Set objOraSession = Nothing =eHoJq
End Sub }4dbS ;C<
Function getTableList(str) 8(jUCD
Dim strSql,strTmp \7\7i-Vo
Dim objRs {D>@ZC
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 Ekl cnM|6
Set objRs = objOraDb.DbCreateDynaset(strSql,0) _{k-&I
While Not objRs.Eof n^xB_DJ~
strA = objRs(uname) & . & objRs(tname) wr`+xYuuC=
\jHHj\LLr.
If str=strA then +xL*`fn
strTmp = strTmp & & strA & -%,3qhsd
Else IGKtugU%
strTmp = strTmp & & strA & D~^P}_e.
End if ,JU3w
objRs.MoveNext ;]c:0W'
Wend 5w^6bw){
Set objRs = Nothing iL48
getTableList = strTmp d~hN`ff
End Function Vs"1:gi&
% > \H&8.<HJ
WR<,[*Mv^
OZSM2 ~
c04;2gR
G*y!
Q
All Tables : 50E?K!
rYn)E=FG/
8mh@C6U
.,l4pA9v
J^y}3ON
() -u nK;
U)sw
Iis E
nD5+&M0
8aMmz!S
Y<WA-dYoF
>;NiG)Z
then @
=XJ<
strSql = Select * from & tblname E&_q"jJRi
Set Rs = objOraDb.DbCreateDynaset(strSql,0) s`$YY_
Response.Write mzGMYi*
for i=0 to rs.Fields.count-1 0nu&JQ
Response.Write & rs.fields(i).name & HB0DG<c-
next Hl*V i3bQU
Response.Write -(FhjIr
While Not Rs.Eof :T9 P9<
Response.Write `P43O gA
for i=0 to rs.fields.count -1 />0
Bm`A
Response.Write & Rs.Fields(i).Value & >U9JbkeF
next "?n;dXYSi
Response.Write +YFA Zv7`
Rs.MoveNext cAQ_/>
Wend Vm8rQFCp74
Set Rs = Nothing =3H*%
end if $p)e.ZMgE
% > \;FE@
hf1h*x^J
8bf~uHAr
^U.t5jj
PHh4ZFl]_I
转自: ASP教程采集