Skip to content

Empty Result Set when calling stored procedure from code but not from SQL Developes #210

Answered by tgulacsi
AndreFK asked this question in Q&A
Discussion options

You must be logged in to vote

What is QUALTRICS_survey_data_typ ?
Your code does not check e of ExecContext and and err of WrapRows - is this intentional, error, or just the copy-paste?
What does rows.Scan return, and most_importantly - what is rows.Err() at the end?
(BTW you want to defer stmt.Close() and defer rows.Close() to not leave cursors open).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AndreFK
Comment options

Answer selected by AndreFK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants