I would have posted to the ArsDigita web/DB forum but last time I did was told that almost no Tcl talk happens there anymore and I'm better off posting here.
I have ACS 4.2 Tcl installed on Solaris with Oracle 8.1.7. I have created a seperate tablespace to hold some tables with data I will be using to pull data for many pages. I granted dba privileges to the user jendy who accesses the database through AOLServer to the entire tablespace. I am able to log in via SeverManager as jendy and access these tables by specifying tablespace_owner.table_name, but this is not working through a tcl page. I get the following error message:
ora8.c:3908:ora_tcl_command: error in `OCIStmtExecute ()': ORA-00942: table or view does not exist
SQL: select la_name from testpilot !>>>!lodging_amenity where la_id = :info_id
while executing
"ns_ora 0or1row nsdb0 {select la_name from testpilot.lodging_amenity where la_id = :info_id}"
The code I am trying to execute is:
set la_name [db_string name "select la_name from testpilot.lodging_amenity where la_id = :info_id" -default "Oopsies"]
Is there some special way of specifying a tablespace name within tcl code that I have overlooked?