I'm starting a new project that requires me to rewrite an existing PHP application using Codeigniter framework (v1.7.2). The existing application's database is in SQL Server 2008. The application has a lot of stored procedures that I'm required to incorporate.
Does anybody have experience using Codeigniter with SQL Server? Was the experience successful? Should I used the mssql driver or the ODBC driver?
I found an older codeigniter forum here but the information is a bit dated.
http://codeigniter.com/forums/viewthread/91918/P15/
Use Doctrine ORM 1.2 or 2 (its still in beta).
Maybe this can help you :
using doctrine 2 with SQL Server
or this
Doctrine 1.2 + MS SQL Server 2008
Related
I have a spring batch application which reads data from SQL server. I would like to write an integration test against an embedded db which supports TSQL.
Exp: My main application has some queries which uses "for json path"
I am looking for an embedded db where I can test in memory.
PS: I tried H2 and looks like it does not support TSQL.
Please download this
https://www.microsoft.com/en-us/download/details.aspx?id=30709
Microsoft SQL Server Compact 4.0 is a free, embedded database that software developers can use for building ASP.NET websites and Windows desktop applications. SQL Server Compact 4.0 has a small footprint and supports private deployment of its binaries within the application folder, easy application development in Visual Studio and WebMatrix, and seamless migration of schema and data to SQL Server.
FYI -
Looks like Microsoft SQL Server JDBC Driver does not support connecting to SQL
Server Compact.
How to use SQL Server Compact Edition (CE) from Java?
https://social.msdn.microsoft.com/Forums/en-US/4d25a17f-6dda-4bec-8a92-f068594553ef/java-and-sql-server-compact-edition?forum=sqlce
Perhaps you can use SQL Server Express LocalDB.
I do not know about its technical details, however. I have personally not (yet) used it in a development project. Perhaps it cannot be considered to be an embedded database like SQL Server Compact Edition is. But a quick search on Internet does indicate that it could be accessed from/with Java.
Regarding managing LocalDB databases with SQL Server Management Studio... Contrary to what is stated in the official documentation, I did succeed to connect to LocalDB using SSMS (version 18.9.1). I only needed to enter (LocalDb)\MSSQLLocalDB as the server name in the connection dialog and use Windows Authentication.
I am using SQL Server as database with VB.net to develop an application. Is there any way to embed the SQL db/table to the application so that client will not have to install SQL Server.
I think recent versions of SQL Server have a feature called 'LocalDB' which might fit your needs : https://msdn.microsoft.com/en-us/library/hh510202.aspx
Is it possible to use SQL Server Express engine with MS Access?
The reason, why I am asking is, that I want to get rid of Jet/ACE engine and the limitation of 2GB per db file.
Thank you for your feedback,
Cralevic
Definitely Yes, but adp projects are unfortunatelly not supported in Access 2013 and higher. You can use linked tables. But it would be better to migrate e.g. .NET WPF or WinForms project when using SQL database as a backend. See http://www.dummies.com/how-to/content/finding-alternatives-to-access-data-projects.html
I have a previously developed project that I am working on now. The project uses SubSonic 2.1 as ORM and it has been working fine since we decided to move to a newer server. The new server has SQL Server 2008 SP1 and now SubSonic is not behaving as usual.
I debugged the case and found that SubSonic is now generating ANSISQL queries instead of SQL Server friendly ones. I found a solution with 2.2 (customizing IsSqlServer2008 method) but I can't migrate to SubSonic 2.2 because project is really big and has lots of lots of SubSonic queries.
How can I make SubSonic 2.1 to work with SQL Server 2008 SP1?
Thanks
Tell it that you using SQL Server 2005?
2005/2008 are close enough in the sense that 7.0/2000 were.
Edit: What I mean is, override whatever so SubSonic thinks you're on SQL Server 2005.
I've never used SubSonic but your question implies you can override IsSQLServer2008 so is there a IsSQLServer2005 for older versions?
Thanks for replying. I decompiled the old dll and customized the IsSql2008 method and Sql2008Generator class. Now it works like a charm.
other problem is in sql 2000, because SQL2000 notification has in version number string "2008" , subsonic try tu use 2008 query (for paging) in 2000, and of course there is big mess.
So for SQL2000, last good subsonic 2.x version is subsonic 2.1.
I'm having a tough time integrating moodle with sqlserver through FREEDTS even after reading the documentation in the moodle site.
I've setup the settings in freedts.conf,php.ini and Config.php.
But, inspite of all this it does not connect to my database. I'm using SQL Server 2008.
What could I possibly be missing?
Thanks.
Have you built PHP with support for FreeTDS as described in the FreeTDS User Guide?
I was able to get it running with SQL Server 2008 and IIS by following the guide from BFC Networks. The primary thing was using SQL Server 2.0 for PHP to complete the integration.