You can use django-mssql[0] as a backend, and then either use the ORM as
usual, write RAW queries with Django[1] or just use SQL directly[2].


Cheers,
AT

[0] http://django-mssql.readthedocs.org/en/latest/
[1] https://docs.djangoproject.com/en/dev/topics/db/sql/
[2]
https://docs.djangoproject.com/en/dev/topics/db/sql/#executing-custom-sql-directly


On Wed, Aug 7, 2013 at 2:42 PM, Larry Martell <larry.mart...@gmail.com>wrote:

> I have a django app that connects to a MySQL server in the usual way.
> I've noe been asked to add some new functionality that requires that I
> pull data from a MS SQL server database running on a Windows box. I
> don't want to use the django ORM with the db, just access it directly
> with some sql in my python code. What's the best way to accomplish
> this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to