Dim conn As New ADODB.Connection
conn.Open "driver={Microsoft ODBC for Oracle};" & _
"server=
js;" & _
"uid=hsonschergffdg;pwd=xxdfhsons"
Set Cat = New ADOX.Catalog
Cat.ActiveConnection = conn
TotTab = Cat.Tables.Count
The issue here is
Surprisingly TotTab got a value much larger than what I was expecting.
The total number of user-defined tables & views are expected to be not more than 1500. But it shows some 8500 tables.
Is there any way to :
1) count the tables created by the users (all other system tables etc excluded)
2) when was a table last modified and by which user