0

I have a PHP shopping cart system and it's using MS SQL for the backend. Currently it's using the mssql driver. Now I want to move it to Windows Azure and I'm required to change the driver to sqlsrv 2 in order for it to work there.

Can anybody tell me if I really need to change the way my db queries are written or can I just retain them and will still work under the new sqlsrv driver?

Example: mssql_connect() -- current syntax which ideally should be sqlsrv_connect() under sqlsrv driver, but will it still work as is?

Thanks in advance! :)

2
Contributors
2
Replies
7
Views
6 Years
Discussion Span
Last Post by Misheki
0

Here is an example of how it should look. The connect is different, and as far as I see the query parameters are reversed.

Edited by pritaeas: n/a

0

Thanks Pritaeas!

I think this means I have to change the way my queries are written. Sounds like a lot of work. :P

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.