Re: connecting to MS SQL server in addition to default MySQL
On Wed, Aug 7, 2013 at 3:03 PM, Andre Terra <andreterra@gmail.com> wrote:
> 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-directlyget
Does django-mssql work on linux and Macs? It says it needs PyWin32.
>
>
> On Wed, Aug 7, 2013 at 2:42 PM, Larry Martell <larry.martell@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+unsubscribe@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+unsubscribe@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+unsubscribe@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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home