Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 62 results for
sqlsrv
- Page 1
SQLSRV & Stored Procedures
Programming
Web Development
12 Years Ago
by stereoworld
… bit of trouble executing a stored procedure using PHP's
SQLSRV
package thing. It's pretty much just a simple select… passed through a php (it's from a property search).
SqlSrv
is a tough nut to crack as docuemtnation is either…
Re: SQLSRV & Stored Procedures
Programming
Web Development
12 Years Ago
by pritaeas
… if you try to execute the query? Does that work? [
SqlSrv
docs](http://msdn.microsoft.com/en-us/library/cc296152(SQL…
Re: SQLSRV & Stored Procedures
Programming
Web Development
12 Years Ago
by stereoworld
… php version on our windows server, we can only use
SQLSRV
. Right, it's working in a different way now. Upon…
Move from mssql to sqlsrv driver on PHP
Programming
Databases
12 Years Ago
by Misheki
…and I'm required to change the driver to
sqlsrv
2 in order for it to work there. …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 …
mssql,sqlsrv,obdc_connect
Programming
Web Development
15 Years Ago
by orxanx
… site, but my hosting don't support php functions(mssql,
sqlsrv
,obdc_connect) :cry: for connections to MS SQL. I need that…
Help with sqlsrv connect
Programming
Web Development
13 Years Ago
by dottomm
… remote MSSQL server from our web page server using the
SQLSRV
Connect. I have installed all the necessary php extensions and…
Re: SQLSRV & Stored Procedures
Programming
Web Development
12 Years Ago
by stereoworld
Hi Pritaeas, thanks for the reply :) I'm certain the Parameters are the right type, if I change, for instance, the postcode param from SQLSRV_PARAM_IN to SQLSRV_PARAM_OUT I get an error saying "The formal parameter "@postcode" was not declared as an OUTPUT parameter, but the actual parameter passed in requested output". It's …
Re: SQLSRV & Stored Procedures
Programming
Web Development
12 Years Ago
by pritaeas
Are you sure all the parameters are IN parameters. If one is INOUT, or OUT, you'll need to specify that.
Re: SQLSRV & Stored Procedures
Programming
Web Development
12 Years Ago
by stereoworld
Cheers for the reply.. Yup, I tested all the parameters with an OUT and INOUT and they all give me "The formal parameter...." errors. I've also tried not declaring an IN/OUT and it just gives the error as before, so by the looks of it I don't even need to declare a direction.
Re: SQLSRV & Stored Procedures
Programming
Web Development
12 Years Ago
by pritaeas
IN is the default, so you could even omit the parameter. Have you tried executing the stored procedure with a different tool? Have you tried with `mssql_` functions?
Re: Move from mssql to sqlsrv driver on PHP
Programming
Databases
12 Years Ago
by pritaeas
Here is [URL="http://msdn.microsoft.com/en-us/library/ff394110.aspx"]an example[/URL] of how it should look. The connect is different, and as far as I see the query parameters are reversed.
Re: Move from mssql to sqlsrv driver on PHP
Programming
Databases
12 Years Ago
by Misheki
Thanks Pritaeas! I think this means I have to change the way my queries are written. Sounds like a lot of work. :P
Having an Issue connection to my MSSQL Server
Programming
Web Development
5 Years Ago
by Claire_4
…: #0 C:\xampp\htdocs\dailysales\includes\CPeriodOrdersJson.php(5): ->('
sqlsrv
:Server=F...', 'LocalAdmin', 'CrispyCrackers') #1 {main} thrown in C:\xampp…;?php include("sqlcalendar.php"); $db = new PDO("
sqlsrv
:Server=FFP-X3DB\X3;Database=FFP_WebServices", "LocalAdmin"…
PHP JSON Connection string failing
Programming
5 Years Ago
by Magic8Computing
…: #0 C:\xampp\htdocs\dailysales\includes\CPeriodOrdersJson.php(5): ->('
sqlsrv
:Server=F...', 'LocalAdmin', 'CrispyCrackers') #1 {main} thrown in C:\xampp…;?php include("sqlcalendar.php"); $db = new PDO("
sqlsrv
:Server=FFP-X3DB\X3;Database=FFP_WebServices", "LocalAdmin"…
Re: Problems with encoding (PHP+ODBC+MSSQL Server 7.0)
Programming
Web Development
10 Years Ago
by ruhestorer
… to replace *dblib* with *mssql* and *
sqlsrv
*. *mssql* returns same error as *dblib*, but *
sqlsrv
* returns: > Failed to get DB handle…
Connecting to Remote SQL server host using SQL Driver for PHP - MSSQL 2008
Programming
Web Development
13 Years Ago
by achala87
…/2.2.12 (Win32 and SQL server 2008 using the
sqlsrv
driver 2.0. I have no problems connecting to my…
MSSQL export to csv with PHP
Programming
Web Development
13 Years Ago
by dottomm
… M$sql. To top it off, I am using Microsofts
SQLSRV
driver for php, from what I can tell uses a…
SQL Help needed
Programming
Software Development
12 Years Ago
by hemant_rajput
Hi all, I've a very weird problem. Actually I've Sql setups as .iso and from those setups i need to extract binary version of "
sqlsrv
.exe", but it is not possible for me to install every single version of sql and install and then generate binary version so does any one know how can i
Connection to MSSQL problem via PHP
Programming
Web Development
12 Years Ago
by varoluscu_prens
…'t overcome. I've installed necessary database driver named "
SqlSrv
" to [I]c:\program files\php\ext[/I] from…
Re: Connection to MSSQL problem via PHP
Programming
Web Development
12 Years Ago
by mschroeder
If you have installed the SQL Server driver from Microsoft than you need to use the sqlsrv_* functions as demonstrated here: [url]http://social.technet.microsoft.com/wiki/contents/articles/accessing-sql-server-databases-from-php.aspx[/url] More specifically these functions [url]http://php.net/manual/en/book.
sqlsrv
.php[/url]
Fatal error: Call to a member function prepare() on a non-object
Programming
Web Development
12 Years Ago
by spowel4
…; function __construct() { $dbServer = DB_SERVER; $dbName = DB_NAME; $conn = new PDO( "
sqlsrv
:Server=$dbServer;Database=$dbName", NULL, NULL); $conn->setAttribute…
Re: Fatal error: Call to a member function prepare() on a non-object
Programming
Web Development
12 Years Ago
by kutchbhi
…() { $dbServer = DB_SERVER; $dbName = DB_NAME; $this->conn = new PDO( "
sqlsrv
:Server=$dbServer;Database=$dbName", NULL, NULL); $this->conn…
Problems with encoding (PHP+ODBC+MSSQL Server 7.0)
Programming
Web Development
10 Years Ago
by ruhestorer
… same problem when I used MS SQL Server 2005 and
sqlsrv
connection, but I found the solution. *'CharacterSet' => 'UTF-8…
Re: Problems with encoding (PHP+ODBC+MSSQL Server 7.0)
Programming
Web Development
10 Years Ago
by ruhestorer
Changed connection to $dbh = new PDO("
sqlsrv
:server=$hostname;Database=$dbname", "$username", "$pw&…
Drupal 7.26 Installation Fails After Creating Database in sqlserver
Programming
Web Development
10 Years Ago
by ganesh641
i installed PHP version5.4.3 SQL server 2008 IIS7
SQLSRV
version3.0 Drupal 7 SQLSTATE[42S02]: [Microsoft][SQL Server Native …
Suggested PHP MVC framework that works well with MSSQL.
Programming
Web Development
8 Years Ago
by RudyM
Hi all, I've been wrestling with CodeIgniter to work with MSSQL. Turned out to be a whole ordeal with changing the functions to use the newly updated
sqlsrv
functions. After all that, I still seem to have issues with it. While I'm working this out, I wonder if anyone has any PHP framework suggestions that work ok with MSSQL. Thanks. -Rudy.
PHP and MS SQL (with sqlsrv driver) return value
Programming
Web Development
9 Years Ago
by DarkSlash
I'm working with a MS SQL database that was done by another developer. Im developing a website that interacts with that database. I need to use a stored procedure called LoginR that takes 3 input parameters (LoginName and Passwords) and returns the NickName in the third value. But also, has a "return" command that returns the ID of the …
HTML Dropdown adapt to PHP query sqlsrv?
Programming
Web Development
9 Years Ago
by JoeSarayuth
i have start learning Bootstrap to design my first Searching Website and i use dropdown list for filter topic what user need to search and input text box for key word (like this pic http://upic.me/i/zl/9aaaa.jpg) This below is my code <!-- Search Container--> <div class="container" id="searchBar">…
chart pie php and Database (sqlsrv)
Programming
4 Years Ago
by Ibnoe
<center><div id="piechart"></div></center> <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> <script type="text/javascript"> google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawChart…
Re: connecting php thorugh MSSql 2008
Programming
Web Development
10 Years Ago
by BenWard
…as though your php has not loaded the
sqlsrv
extension. http://docs.gurock.com/testrail-admin/howto-installing…old & community supported, but available on linux) 2.
sqlsrv
(new and microsoft supported, NOT available on linux) the … you have enabled the mssql driver instead of the
sqlsrv
one. note: just typing extension=php_sqlsrv.dll into…
1
2
3
Next
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC