Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mssql_close(3) [php man page]

MSSQL_CLOSE(3)															    MSSQL_CLOSE(3)

mssql_close - Close MS SQL Server connection

SYNOPSIS
bool mssql_close ([resource $link_identifier]) DESCRIPTION
Closes the link to a MS SQL Server database that's associated with the specified link identifier. If the link identifier isn't specified, the last opened link is assumed. Note that this isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution. PARAMETERS
o $link_identifier - A MS SQL link identifier, returned by mssql_connect(3). This function will not close persistent links generated by mssql_pcon- nect(3). RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 mssql_close(3) example <?php // Connect to MSSQL $link = mssql_connect('KALLESPCSQLEXPRESS', 'sa', 'phpfi'); // Do any related operations here // Close the link to MSSQL mssql_close($link); ?> SEE ALSO
mssql_connect(3), mssql_pconnect(3). PHP Documentation Group MSSQL_CLOSE(3)

Check Out this Related Man Page

MSSQL_INIT(3)															     MSSQL_INIT(3)

mssql_init - Initializes a stored procedure or a remote stored procedure

SYNOPSIS
resource mssql_init (string $sp_name, [resource $link_identifier]) DESCRIPTION
Initializes a stored procedure or a remote stored procedure. PARAMETERS
o $sp_name - Stored procedure name, like ownew.sp_name or otherdb.owner.sp_name. o $link_identifier - A MS SQL link identifier, returned by mssql_connect(3). RETURN VALUES
Returns a resource identifier "statement", used in subsequent calls to mssql_bind(3) and mssql_execute(3), or FALSE on errors. EXAMPLES
Example #1 mssql_init(3) example <?php // Connect to MSSQL and select the database $link = mssql_connect('KALLESPCSQLEXPRESS', 'sa', 'phpfi'); mssql_select_db('php', $link); // Create a new statement $stmt = mssql_init('StatementTest', $link); // Bind values here // Once values are binded we execute our statement // using mssql_execute: mssql_execute($stmt); // And we can free it like so: mssql_free_statement($stmt); ?> SEE ALSO
mssql_bind(3), mssql_execute(3), mssql_free_statement(3). PHP Documentation Group MSSQL_INIT(3)
Man Page

13 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

New to UNIX - what script to dig into to

First I would like to thank you for your time in running a great Forum! Background - Windows/ASP/VB COM/SQL Server programmer/Webmaster. Desire - To build similar skillset on UNIX. I am looking at learning Perl or Python (maybe Jython due to connection to Java). I have a brief background... (3 Replies)
Discussion started by: nimrod
3 Replies

2. UNIX for Advanced & Expert Users

Connecting DB in the Shell Script to do SQL Query

Any link or example to write shell script for the Connecting Oracle for Quering through SQL thanks in advance ... Cheers !! Mehul Doshi (3 Replies)
Discussion started by: mehuldoshi
3 Replies

3. Shell Programming and Scripting

open unix file in windows

Hi, I have a text file in unix. i am trying to give a link in Internet explorer to that file. If i click on the link in Internet Explorer page then it should display the text from file in unix. is that anyway possible.... i am trying it for past 2 days....if i find a way out i will... (3 Replies)
Discussion started by: ganesh
3 Replies

4. UNIX for Dummies Questions & Answers

MS SQL Server on UNIX

Hi GURUs, I have following queries: 1) If its possible to configure Microsoft SQL Server database on a UNIX machine, if yes, can any body pls point me to the guide to acheive the same. 2) I know Oracle runs perfectly on UNIX based machines, can any body point me to the guide to achieve the... (6 Replies)
Discussion started by: patras
6 Replies

5. Solaris

Connect From VB to SQL Server

Dear All Now I can't connect from VB to Sybase on Unix. How could I do? Please help me. (0 Replies)
Discussion started by: Than Chanroeun
0 Replies

6. UNIX for Dummies Questions & Answers

Running PL/SQL procedure via unix

All, I have a 10g PL/SQL procedure that needs to be run via a unix script. How could such a script be developed. Thanks Aditya. (1 Reply)
Discussion started by: kingofprussia
1 Replies

7. UNIX for Dummies Questions & Answers

HP-UX 11.23 ia64 and Glance

I've been searching and cannot seem to find anywhere online a link to a manual for Glance. Does anyone have a link to this? I searched in here already and the links I found on a post from 2002 were dead. And more to the point, do you know if you can use Glance to see Disk I/O per logical... (2 Replies)
Discussion started by: LisaS
2 Replies

8. Shell Programming and Scripting

open a web link from

Hello, I am looking a way on how to add in my sh script a line that once run would visit a web link www.domain.com/something.php?smt=SOMEDATA and close. Thank you, C (3 Replies)
Discussion started by: c0mrade
3 Replies

9. UNIX for Dummies Questions & Answers

Updating the ODBC.ini file

Hi, I want to access MS SQL Server database through Informatica which is an ETL tool installed on sun solaris Unix operating system. For me to access the MS SQL Server i studied that i need to update the odbc.ini file on Unix box. Could you please let me know how and where i can access this file... (1 Reply)
Discussion started by: Ariean
1 Replies

10. Web Development

Connect C#(App) + Exim en Centos

Hi everyone, Today i'm faceing a problem, that really hope for some help. I'm working in a Web application developed in C#(DB SQL Server 2012, IDE VS 2010), so i've hired two VPS (Virtual Private Server), one with Windows Server 2012 where it's running my app and the other VPS in Centos.... (1 Reply)
Discussion started by: Newer
1 Replies

11. Shell Programming and Scripting

MSSQL or SQL SERVER or SQLSERVER?

hi, i'll want to try on the parameter with three possibility because mine colleagues usally to work on the other name folders. for example: MSSQL SQL SERVER SQLSERVER case $q in a) echo -ne "Work database: " echo "" echo " 1) ORACLE" echo... (4 Replies)
Discussion started by: gsflash80
4 Replies

12. Fedora

Newby: How to actually update software?!

Hi All - 1) I work with bigdate for a living, use lots of neat software, SAS, SQL Server, etc. I know how to get my data and such, analyze it, etc... 2) I use UNIX at work (Solaris mostly) and can easily navigate around Unix and get the job done, vi and sas -nodms are about my fav, and some... (6 Replies)
Discussion started by: sas
6 Replies

13. UNIX for Advanced & Expert Users

Open a webbrowser link from shell script

Hi All I have a task which is manually submitted from a web browser link, by entering a value. This has an xml code as well. I am looking for options to automate the above to avoid manual intervention/dependency. Is there a way I can achieve this using shell script? Either open the link by... (3 Replies)
Discussion started by: sparks
3 Replies