Il 24/04/2012 16:46, Michael Bayer ha scritto:
On Apr 24, 2012, at 10:26 AM, Matteo Boscolo wrote:

Hi all,
I got this pice of code and I'm not able to make it work because it
returns:

ProgrammingError: (ProgrammingError) ('42000', "[42000] [Microsoft]
[Driver ODBC Microsoft Access] Funzione 'user_name' non definita
nell'espressione. (-3102) (SQLExecDirectW)") 'SELECT user_name() as
user_name;' ()

The connection here is fine, SQLAlchemy would like to locate the current username via the 
"user_name()" function and the database isn't aware of it.  Is this minimum of 
SQL server 2005 or greater ?


it's an access db via dsn

how can I avoid the user_name() function call ?







--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to