0 then 3/D fsv
Response.Write 错误 : & err.description & dx#N)?
response.end [iz
End if TzjZGs W[V
End Sub l1msXBC
Sub EndDB() Fwtwf{9I
Set objOraDB = Nothing ~Km8-b(&
Set objOraSession = Nothing mvnK)R_
End Sub u]"RAH
Function getTableList(str) l"64w>,
Dim strSql,strTmp #i?TCO
Dim objRs snrfHDhUw
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 1'iRx,
Set objRs = objOraDb.DbCreateDynaset(strSql,0) G(L*8U<UG
While Not objRs.Eof /TdTo@
strA = objRs(uname) & . & objRs(tname) #frhO;6
?k-IS5G
If str=strA then pc #^{-
strTmp = strTmp & & strA & f>o@Y]/l
Else 9;jfg|x1[
strTmp = strTmp & & strA & -HOCxR
End if LcXrD+
1
objRs.MoveNext $%<gp@Gz
Wend H!N,PI?rn
Set objRs = Nothing afjC~}
getTableList = strTmp x!J L9
End Function &,+ZNA`P
% > GY>0v
}v?{npEOt+
!eW<4jYB
@<P[z[
AdhCC13B
All Tables : X^?-Une
8164SWB
PO#FtG
W*
YfyM
][.1b@)qV
() ^T"A9uaG
Ofn:<d
7Sokn?~i
XHW{EVcF
k[][Md2Vh
|KA8qQI]%
then |Q$C%7
strSql = Select * from & tblname 4h|D[Cb]
Set Rs = objOraDb.DbCreateDynaset(strSql,0) H_x35|"
Response.Write lB,MVsn18
for i=0 to rs.Fields.count-1 "5@Y\L
Response.Write & rs.fields(i).name & Wd[XQZ<
next Z-WWp#b
Response.Write t
;[Me0
While Not Rs.Eof MtS$ovg?
Response.Write bw@tA7Y
for i=0 to rs.fields.count -1 Q.nEY6B_
Response.Write & Rs.Fields(i).Value & &c A?|(7-
next Od"-w<'
Response.Write "~GudK &
Rs.MoveNext Ros5]5=dP
Wend 9[:nWp^
Set Rs = Nothing }3@`'i7
end if y`'Ly@s
% > "5{\0CfS
^ K/B[8
S6cSeRmw
,u$$w
|%$d/<<PZ
转自: ASP教程采集