HiTechFred
Programmer
Hey Everyone,
I'm trying to write a mini Perl app that will show a list of all tables in MAS200.
I have made lots of apps to grab data through the SOTAMAS90 ODBC driver (ver 3.21). Here's what I have tried as my SQL statement all I get is an error:
DBD::ODBC::db prepare failed: [ProvideX][ODBC Driver][FILEIO]Table is not access
ible (SQL-S000)(DBD: st_prepare/SQLPrepare err=-1) at C:\Documents and Settings\
XXXXX\Desktop\show_all.pl line 38.
There are the SQL Sommands I have tried:
1. SHOW ALL
2. SHOW ALL FROM *
3. SHOW TABLES
4. select * from sysobjects
5. SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' ORDER BY TABLE_NAME
6. SELECT * FROM *
So far nothing, anyone help?
I'm trying to write a mini Perl app that will show a list of all tables in MAS200.
I have made lots of apps to grab data through the SOTAMAS90 ODBC driver (ver 3.21). Here's what I have tried as my SQL statement all I get is an error:
DBD::ODBC::db prepare failed: [ProvideX][ODBC Driver][FILEIO]Table is not access
ible (SQL-S000)(DBD: st_prepare/SQLPrepare err=-1) at C:\Documents and Settings\
XXXXX\Desktop\show_all.pl line 38.
There are the SQL Sommands I have tried:
1. SHOW ALL
2. SHOW ALL FROM *
3. SHOW TABLES
4. select * from sysobjects
5. SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' ORDER BY TABLE_NAME
6. SELECT * FROM *
So far nothing, anyone help?