MSSQL_CLOSE(3)MSSQL_CLOSE(3)mssql_close - Close MS SQL Server connectionSYNOPSIS
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 procedureSYNOPSIS
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)