Clarify docs: What is multiple result set for SQL_LockDatabase()?
Hi,
can you clarify, please, this statement from docs: Quote:
Sample from docs: PHP Code:
|
Re: Clarify docs: What is multiple result set for SQL_LockDatabase()?
Each SQL query can return one or more result sets that each contain zero or more rows.
Only procedure calls can return multiple result sets with SM (as it says in the doc you quoted, since it doesn’t support using a semicolon to run multiple queries), so 99% of code doesn’t need to care about them and only needs to iterate over the rows of the first result set which is loaded automatically (as your code is doing). There are separate MoreResults and FetchResult for additionally iterating over result sets. |
Re: Clarify docs: What is multiple result set for SQL_LockDatabase()?
Good to know. Thanks for the explanation!
|
All times are GMT -4. The time now is 14:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.