sybase_query

Sends a Sybase query

&reftitle.description; `mixed` `sybase_query` `string` `query` `resource` `link_identifier`

`sybase_query` sends a query to the currently active database on the server that's associated with the specified link identifier.

&reftitle.parameters;

`query`

`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 `sybase_connect` was called, and use it.

&reftitle.returnvalues;

Returns a positive Sybase result identifier on success, &false; on error, or &true; if the query was successful but didn't return any columns.

&reftitle.seealso;

- `sybase_select_db`
- `sybase_connect`