J
jez123456
Hi Experts
Hope I’m in the correct thread.
I’m using VS 2005 and the .NET Framework Data Provider for Oracle to connect
to an Oracle 7 database.
All is ok and I can view and run simple SQL like
SELECT COUNT(*) AS EXPR1
FROM ADDRESSES
I’m trying to write some SQL that will count all the records in all the
tables. I have over 600 tables in the Oracle database.
I’ve tried
SELECT OBJECT_NAME(id) AS Expr1, rows
FROM sysindexes
WHERE (indid IN (1, 0))
Which works ok when connected to SQL Server but not Oracle.
Any ideas?
Hope I’m in the correct thread.
I’m using VS 2005 and the .NET Framework Data Provider for Oracle to connect
to an Oracle 7 database.
All is ok and I can view and run simple SQL like
SELECT COUNT(*) AS EXPR1
FROM ADDRESSES
I’m trying to write some SQL that will count all the records in all the
tables. I have over 600 tables in the Oracle database.
I’ve tried
SELECT OBJECT_NAME(id) AS Expr1, rows
FROM sysindexes
WHERE (indid IN (1, 0))
Which works ok when connected to SQL Server but not Oracle.
Any ideas?