Is it possible to connect to the MSSQL server using sqlalchemy and then create the database?
I am using the following:
sqlalchemy.create_engine("mssql+pyodbc://sa: pwd@localhost /")
But I get an error message:
Detail DBAPIError: (Error) ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)') None None
I would like to connect to the server, then create a database and work with it.
source share