0

This is kind of an exotic situation: We have a very specialized and old .NET application (without sources) that connects to a MS SQL Server database. As there are certain restrictions for the "Express" version of MS SQL, I thought that we could perhaps use a better and free database like Postgresql.

As we can't change the application so that it directly talks to Postgresql instead of MS SQL, is there a way to "wrap" the Postgresql DB so that it looks and behaves like an MS SQL Server? I think of something like an interface application that translates between the two dialects while being completely transparent to the .NET application.

I know, this is ugly, but it would come in very handy until there's a new implementation (which will take at least 2 years from now). Besides that, it would allow the whole shebang to be run on a linux system.

2

2 Answers 2

2

Try BabelFish based on the following summary it seems what you are looking for:

"Babelfish for PostgreSQL provides the capability for PostgreSQL to work with applications written for Microsoft SQL Server. Babelfish understands the SQL Server wire-protocol and T-SQL, the Microsoft SQL Server query and procedural language, so you don’t have to switch database drivers or rewrite all of your application queries."

1
  • 1
    Perfect, exactly what I was looking for. Thanks! Commented Aug 5, 2025 at 6:42
0

MS SQL Server can be installed on Linux. Pay for the full features, or use Express.

No support or source code of the application decreases the chances of success of even a hack working. That time is better spent writing the replacement application, and keeping the old one functional with the existing DBMS in the interim.

1
  • Sorry, your response is opinion-based and does answer my specific question. Commented Aug 5, 2025 at 6:44

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.