$O Use & Prepared Statement

Franco Maregotto franco at hotelaqua.it
Fri Aug 8 15:06:58 EDT 2014


Ben
you can tell MySQL (and others) to use the database you want, but not with a prepared statement.
SessObj.$database.$assign('Ben_DB')...


Franco Maregotto
franco at hotelaqua.it




Il giorno 08/ago/2014, alle ore 20:27, Ben Butler <ben.butler at w16.co.uk> ha scritto:

> Hi,
> 
> I am having a problem with 6.02 and MySQL at the back end.  I am trying to issue as "use databasename" command through the statement object and I am getting error codes back telling me "This command is not supported in the prepared statement protocol yet".  Ok.... so what should I do with the Object DAMs if I can't use a prepared statement to select the database I want?  I know I could prefix the table names with the database name in the SQL statements, but just so I know, what should I do given I do want to select a specific database with the use command.
> 
> Many thanks
> 
> Ben
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> 




More information about the omnisdev-en mailing list