(No version information available, might only be in Git) sqlsrv_query — Prepares and executes a query Descriptionsqlsrv_query( Parametersconn A connection resource returned by sqlsrv_connect(). sql The string that defines the query to be prepared and executed. params An array specifying parameter information when executing a parameterized query. Array elements can be any of the following:
options An array specifying query property options. The supported keys are described in the following table: Query Options
Return Values Returns a statement resource on success and ExamplesExample #1 sqlsrv_query() example
NotesFor statements that you plan to execute only once, use sqlsrv_query(). If you intend to re-execute a statement with different parameter values, use the combination of sqlsrv_prepare() and sqlsrv_execute(). See Also
bill_spam0001 at yahoo dot com ¶ 9 years ago
vavra at 602 dot cz ¶ 4 years ago
bill_spam0001 at yahoo dot com ¶ 10 years ago
gettype($address_line_2); //outputs string erikpsundberg at gmail dot com ¶ 2 years ago
oleg at mastak dot fi ¶ 9 years ago
anon at example dot com ¶ 4 years ago
|