Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database/sql: Need to fetch Multiple Resultset using MSSQL Stored Procedure #20157

Closed
NileshYendhe opened this issue Apr 28, 2017 · 7 comments
Closed

Comments

@NileshYendhe
Copy link

NileshYendhe commented Apr 28, 2017

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.7 linux/amd64

What operating system and processor architecture are you using (go env)?

Ubuntu 16.04 LTS

What did you do?

Working as a Developer

If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

What did you expect to see?

Need to fetch multiple result sets by calling sql stored procedure at a one single time

**If you can provide one simple example to get multiple result sets using SQL Stored Procedure at a one single time I would be very happy.

Thanks....**

What did you see instead?

Getting only 1 result set

@matipan
Copy link

matipan commented Apr 28, 2017

This issue is poorly formatted. Please read the contributing section before creating issues.

If you want examples, you should check out this issue where the NextResultSet feature was implemented.

For questions about Go, see https://golang.org/wiki/Questions

Since this is not an issue with Go or the library, you should close it.

@bradfitz
Copy link
Contributor

@matipan, "poorly formatted" might be a little harsh... this uses the recommended template, after all.

@NileshYendhe, this was added in Go 1.8.

See https://golang.org/doc/go1.8#database_sql

I don't know whether the MSSQL driver supports it, though. Maybe @kardianos knows.

@bradfitz bradfitz changed the title Need to fetch Multiple Resultset using MSSQL Stored Procedure database/sql: Need to fetch Multiple Resultset using MSSQL Stored Procedure Apr 28, 2017
@bradfitz bradfitz added this to the Unplanned milestone Apr 28, 2017
@kardianos
Copy link
Contributor

It supports it. Also direct execution of procs is about to got better, no more need for exec, just proc name, pending PR.

@NileshYendhe
Copy link
Author

Thanks @kardianos, For your information. I'll check.

@matipan
Copy link

matipan commented Apr 28, 2017

Sorry @bradfitz if it sounded harsh, I was referring to the title not having the package it was referring to. I could have explained it better, will do the next time :)

@bradfitz
Copy link
Contributor

@matipan, no worries. We can't expect users to follow all of our conventions. If you want to help garden, you can get access and then you can just edit subject lines to match Go's style.

@matipan
Copy link

matipan commented Apr 28, 2017

@bradfitz, that's true
I've just requested access, thank you!

@golang golang locked and limited conversation to collaborators Apr 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants