Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

How to connect to sql server?

Hello, I would like to know how I can do to connect to SQL SERVER with Phalcon 1.3.4.

Is there a plugin for this version of framework? O What will exist for version 2?

Thank you.


Phalcon does not support SQL Server at this moment. Maybe this could work for you:

I had some problem using the above classes with pdo_sqlsrv, so i extended them. You can find all the code here: