Quantcast
Channel: Microsoft Drivers for PHP for SQL Server forum
Browsing index pages (391 articles)
↧

Microsoft JDBC Driver having strange behaviour with Java code.

I have tried with java code to use Microsoft JDBC driver to get connection on SQL Instance enabled with SSL Protocal and SQL Server with NTLMV2 protocol. I am using windows authentication to get...

View Article


Insert JSON records into SQL Server table using PHP

I hope this is the correct forum for PHP questions related to sql server.I would like to pull data for all the cities in my county from the census API into a table in sql server.  I have been working...

View Article


Insert records into SQL Server table using PHP

I hope this is the correct forum for PHP questions related to sql server.I would like to pull data for all the cities in my county from the census API into a table in sql server.  Right now, it inserts...

View Article

SQLState 42000 Error 3980 on Zend Framework 2 PHP

Hi guys I'm having a problem when executing insert query using Zend Frameworks TableGateway. I'm always getting this error "[Microsoft][ODBC Driver 11 for SQL Server][SQL Server]The request failed to...

View Article

Random occurrences of SQLState IM004

Greetings,As the title says.. ok, actually, let's go from the beginning. We've a project that's been running on a Windows 2008 R2 + IIS 7.5 + PHP 5.6 + Sql Server 2008 for the past 4 years. Since the...

View Article


How do we call sqlsrv_query(), after sqlsrv_prepare()?

Hi,I'm doing an INSERT with a Stored Procedure.  Something like this:$sql_prep = "EXEC p_1A_insert( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )"; $stmt =...

View Article

PHP 5.6 driver download actually contains 7.x.

Hi,The download for the PHP 5.6 drivers that are referenced athttps://www.microsoft.com/en-us/download/confirmation.aspx?id=57916actually contain the 7.x drivers.  The executable to extract the...

View Article

Failed to fetch...

Receiving the following error when building sql server in docker php image:```Reading package lists... E: Failed to fetch...

View Article


SQL Driver issues

Greetings,We've a server running Windows Server 2008 R2 + Sql Server 2008 + PHP 5.6; I'm aware all of that is old and should be upgraded but as you can all imagine, long running apps aren't something...

View Article


i cant login to my website, use IIS and Ms SQL Server Studio

this is my code named process-login.php<?php include 'config/config.php'; if(isset($_POST['login'])){ $nama = $_POST['nama']; $nomor = $_POST['nomor']; $dept = $_POST['dept']; $qry =...

View Article

connecting eclipse with sql

how to connect eclipse_php with sql

View Article

Sql Server Native client for Mac

Hello,First I hope that I'm in the right forum.I'm using Excel VBA (PC) and SQL Server, in the past I needed to installed SQL Server Native Client to be able to do it, and after I installed it,...

View Article

Persistent VSS snapshot gets removed from restored VM

Persistent VSS snapshot is getting removed for some volumes on my VM on VMWare, below are the steps I used to do this1] Take persistent VSS snapshot of SQL using SQl writer 2] Take VM snapshot and...

View Article


Error installing sqlsrv driver in Linux

When I try to install the driver in Ubuntu 16.04 I get the following error:dtz-dany Install SQLSRV # pecl install sqlsrv downloading sqlsrv-4.3.0.tgz ... Starting to download sqlsrv-4.3.0.tgz (164,282...

View Article

Back up process

Hi All,I am planning to set backups for databases in simple recovery mode. Can anyone please provide me with some good document? Are there any other kind of backup's other than simple recovery? Which...

View Article


Access to all but one table

Hi is there a way where i can give access to a user to the whole database (READ ONLY) except for couple of tables?Thanks

View Article

Audit log

I would like to know how to enable audit logs for specific user group. Ex: If application development team do changes to live database without an approved change request form. So we suggested that...

View Article


Combining Laravel with SQL Server on Azure goes wrong...

I'm trying to deploy a Laravel Application to Azure using the App Service. Things are working pretty ok, I set the PHP version to 7.1, added the Composer extention, and added a web.config file in the...

View Article

Connection fails with 'Login failed for user xxx'

I'm trying to set up a demo on my local machine showing how to use SQLSRV in PHP. To facilitate, I've added a new login and a user using that login, both named DemoUser, and given that user...

View Article

Exec as user/revert problem with ConnectionPooling

Try to connect and execute any statement with ConnectionPooling=1 is failed when previous connection used 'exec as user' without corresponding 'revert'.Error message: HY000[0]: [Microsoft][ODBC Driver...

View Article
Browsing index pages (391 articles)


Latest Images