

Creator III
2020-03-02
04:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Execute stored procedure - no issues, no data
Hi,
In one of my application, I need to use a stored procedure with three parameters as a data source.
The main problem is always finished without issues but doesn't return any data.
On community I found a possible solution: add SET NOCOUNT = 0; statement to the stored procedure, after adding statement I executed it again and still have the same result.
What can cause such a problem?
Thanks,
Vitalii
- Tags:
- stored procedure
1,668 Views
3 Replies


Partner - Champion III
2020-03-02
04:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does the SP return any values when executed in another environment (SQL MS / Toad etc)? Is that the last item returned from the SP?
Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
1,658 Views


Creator III
2020-03-02
05:05 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes, SP returns data when I run it from MS SQL Server
Thanks,
Vitalii
1,642 Views

Master
2020-03-02
05:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1,633 Views
