| Hyderabad Jobs | Book Website | ![]() |
I Love Hyderabad | Hyderabad Colleges |
| Home | Business Emails | Hyderabad Classifieds | Contact Us | |
| 7 Wonders of Hyderabad | Web Hosting | Yellow Pages | Our Network | |
Advanced PowerBuilder
Retrieving Multiple Result SetsBefore talking about Multiple result sets, let's be clear about a result set. It means, the rows returned by one SELECT statement. In SQL Server, you can have as many SELECT statements as you want, and each of those SELECT statements can return rows. The columns that are returned by each SELECT statement could be different. For example:
While executing multiple result set stored procedures in PowerBuilder, you can retrieve only one set at a time. When the script fetches the first result set, SQLCODE is populated with the 100 return code. From then onwards, the values of the second result set are available to the script. For example, the following script would execute sp_help Stored Procedure. If you supply a table name as parameter, it would give five result sets. The script listed below fetches the first two result sets:
|
| Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com |