I suspect the answer to this is obvious, but it eludes me. I have
defined some SQlAlchemy table classes, using declarative_base, to
interact with some tables in an SQL Server database. I'm unsure that
the types I've chosen are correct.
I want to print the CREATE TABLE ddl, without executing it.
On Feb 25, 4:16 pm, Adam Pletcher adam.pletc...@gmail.com wrote:
Is it possible to connect to a server using Windows Authentication
using sqlalchemy?
Yes it is, the syntax is:
'mssql://hostname/database?trusted_connection=yes'
If you're connecting to a SQLEXPRESS instance, this becomes: