On Jan 10, 2006, at 10:21 PM, Adrian Holovaty wrote:
On 1/9/06, Rich Bakos <[EMAIL PROTECTED]> wrote:
I am experimenting with Django and MS SQL and it appears that
Django is
passing parameters to MS SQL in an incorrect format.
The params are being passed in as a format string style (%s),
which MS
SQL chokes on.
Hey Rich,
The Django MS SQL support is still in alpha status, mostly because we
don't have many people who've tried to use it with MS SQL. We're very
keen on getting that driver up to speed, though, and you can help.
Could you paste the entire traceback you get? Also, would any other MS
SQL users in the audience be able to help?
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org
As matter of fact, I am trying to make pymssql backend for Django
work since in my current project we have to inherit a MS-SQL
database. Changing the database is definitely not an option. If
Django can be used with MS-SQL, then I can convince the team to pick
it. Otherwise most likely we will have to stuck with Java/Structs/
iBatis stack which I am not a fan of.
I get the patch for pymssql from Jakub Labath, who was also in the
mailing list couple months ago but didn't have time to work more on
it. The reason for picking pymssql over ado-mysql is that we'd like
to run Django on Linux instead of Windows.
Anyway, at this point I am kind of walking in the dark, since MS-SQL
is a new territory to me.
- Cheng