Home > PHP > Function > Mssql > mssql_init()

mssql_init()

mssql_init - Initializes a stored procedure or a remote stored procedure

Syntax

resource mssql_init (string $sp_name, resource $link_identifier)

Arguments

  • sp_name - Stored procedure name, like ownew.sp_nameor otherdb.owner.sp_name.
  • link_identifier - A MS SQL link identifier, returned by mssql_connect().

Description

Initializes a stored procedure or a remote stored procedure.

Version

PHP 4.0.7, 5, PECL odbtp >= 1.1.1

Return value

Returns a resource identifier "statement", used in subsequent calls to mssql_bind() and mssql_execute(), or FALSE on errors.