Edgewall Software

Ticket #329 (closed enhancement: duplicate)

Opened 5 years ago

Last modified 3 months ago

Adding support for Microsoft SQL Server as a backend DB

Reported by: anonymous Owned by: jonas
Priority: normal Milestone:
Component: general Version: none
Severity: normal Keywords: ms sql, microsoft, sql server
Cc:

Description

Requesting the inclusion of the Microsoft SQL Server 2000 database.

Attachments

Change History

Changed 5 years ago by anonymous

See ticket #126 - future changes may allow you to integrate with MS SQL Server, or any other relational database (as a replacement for sqlite)

Changed 5 years ago by anonymous

  • priority changed from highest to normal
  • status changed from new to closed
  • resolution set to duplicate

Changed 9 months ago by henke.mike@…

  • keywords ms sql, microsoft, sql server added

Any idea of this will be readdressed?

Changed 9 months ago by anonymous

  • summary changed from Database Inclusion to Adding support for Microsoft SQL Server as a backend DB

Changed 8 months ago by anonymous

  • priority changed from normal to high
  • status changed from closed to reopened
  • resolution duplicate deleted
  • milestone set to 0.12

Re-opened. not Duplicate since request for Microsoft SQL Server not MySQL, SQLite, or PostgreSQL

Changed 8 months ago by anonymous

  • priority changed from high to normal
  • status changed from reopened to closed
  • resolution set to duplicate
  • milestone 0.12 deleted

I think you misunderstand #126. The point is, I don't think anyone wants to work on maintaining MSSQL support in the core (nevermind that it would require a copy of MSSQL). The Trac devs' hands are full enough as it is supporting SQLite, MySQL, and Postgres. So this is something that would probably be better off waiting on until there's more generic DB support (SQLAlchemy?)

Also, please be fair with priority, milestone, etc

Changed 7 months ago by anonymous

Hmm... Then I don't think this is a duplicate of #126 either. #126 is fixed and this is clearly not. Maybe close with won't fix. So at least people understands your intention without have to running arround and reopen the ticket.

Thanks!

Changed 4 months ago by slide_o_mix at hotmail dot com

I have a rough implementation of an MSSQL backend. I am coming up against some issues though.

For instance, several queries from trac use "LIMIT 1" SQL syntax which is not supported by MSSQL.

I am not quite sure what to do about those queries. There are some other schema things that I've run into as well (many of the DB fields are of type TEXT, but this doesn't work for primary keys or indices in MSSQL).

Any ideas would be appreciated.

Changed 4 months ago by diroussel+trac@…

slide_o_mix, the LIMIT issue can be worked around, but it's not as succinct as using LIMIT. You have to use TOP n.

See http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=850&lngWId=5 for an example, you can probably find others too.

I'd be interested in you MS SQL port. You could put it on trac-hacks.org, there you'll get a project page and svn etc.

Changed 4 months ago by diroussel+trac@…

You can also use TOP.

SELECT TOP (10) * FROM TableA

Changed 3 months ago by slide_o_mix at hotmail dot com

I agree, that it can be worked around, the problem is that the trac api's use LIMIT in several places. I don't see a good way of abstracting whether to use LIMIT or TOP in those apis.

Add/Change #329 (Adding support for Microsoft SQL Server as a backend DB)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.