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;' ()


code:

import sqlalchemy
import pyodbc

from sqlalchemy import *
engine = create_engine('mssql+pyodbc://tmm2011-1')
engine.connect()

the
db = pyodbc.connect('DSN=tmm2011-1') works fine ..

any idea ??

regards,
Matteo

-- 
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