PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<mssql_pconnectmssql_result>
Last updated: Mon, 16 Jul 2012

mssql_query

(PHP 3, PHP 4, PHP 5)

mssql_query -- Send MS SQL query

Description

mixed mssql_query ( string query [, resource link_identifier [, int batch_size]] )

Returns: A MS SQL result resource on success, TRUE if no rows were returned, or FALSE on error.

mssql_query() sends a query to the currently active database on the server that's associated with the specified link identifier. If the link identifier isn't specified, the last opened link is assumed. If no link is open, the function tries to establish a link as if mssql_connect() was called, and use it.

See also mssql_select_db() and mssql_connect().




<mssql_pconnectmssql_result>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST