multiple-resultsets Questions
4
Solved
Is there any way to use Dapper.NET with stored procs that return multiple result sets?
In my case, the first result set is a single row with a single column; if it's 0 then the call was successful...
Wisent asked 11/6, 2011 at 19:7
1
Solved
I am using sails js with it sails-mssqlserver adapter. The problem with it is that if my stored procedure returns multiple result sets then I only receive one result set which is the latest of all....
Passive asked 2/10, 2017 at 7:46
2
Solved
This post showed executing multiple queries in a single JDBC invocation (against a SQL Server database) by separating them with semicolons. When I tried to do the same with Oracle 10G, an error "in...
Quadrumanous asked 14/12, 2011 at 11:53
2
Solved
I have these two tables with a one (category) to many (product) relationship in the database:
Table Product
Name
Description
ProductCategory
Table Category
Category
Description
And these c...
Flexor asked 20/12, 2013 at 19:12
1
Solved
I have a SP from that I am trying to return 2 result set from, and in my .cs file i am trying something like this:
dr = cmd.ExecuteReader();
while (dr.Read())
{
RegistrationDetails regDetai...
Rhombencephalon asked 18/10, 2013 at 11:46
1
Solved
I created a SQL View that joins a few tables and when tested in SQL
Manager it provides the correct data (If a makes a difference these are complex joins).
In MVC I created a (data first) Entity D...
Goldina asked 31/10, 2011 at 15:3
1
Solved
In EF4, this was not easily possible. You either had to degrade to classic ADO.NET (DataReader), use ObjectContext.Translate or use the EFExtensions project.
Has this been implemented off the shel...
Freese asked 9/3, 2011 at 22:57
3
We have followed the approach below to get the data from multiple results using LINQ To SQL
CREATE PROCEDURE dbo.GetPostByID
(
@PostID int
)
AS
SELECT *
FROM Posts AS p
WHERE p.PostID = @PostI...
Vocal asked 16/12, 2008 at 14:22
5
Solved
I'm currently hand-writing a DAL in C# with SqlDataReader and stored procedures. Performance is important, but it still should be maintainable...
Let's say there's a table recipes
(recipeID, auth...
Cowshed asked 7/2, 2010 at 17:44
1
© 2022 - 2024 — McMap. All rights reserved.