Hi,

On Mon, Dec 29, 2008 at 7:19 AM, Ning <station.n...@gmail.com> wrote:

>
> Hi all,
>
> I am pretty new for using sqlalcemy. I am able to connect postgre
> database, but we recently moved data from postgre to SQL sever 2005.
>
> I have tried to connect sql sever 2005 as following:
>
> DB = sqlalchemy.create_engine('''sql2005://user_name:passw...@server/
> database''')
>

The syntax is "mssql://user:passw...@host/database"

See here for more info:
http://www.sqlalchemy.org/trac/wiki/DatabaseNotes#MS-SQL

Michael


>
>

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

Reply via email to