henplus icon indicating copy to clipboard operation
henplus copied to clipboard

Patch: Multiple result set support

Open tbk303 opened this issue 14 years ago • 1 comments

Hi Everyone,

I am using HenPlus with MS SQL database and need to get multiple result sets with a single SQL query at times It is fairly easy to fix, just add a loop in the SQLCommand class.

As a result of that the following things started to work correctly:

  • sp_help MS SQL function shows all information about tables
  • Stored procs would return all results now
  • Multiline queries like: SELECT 1 SELECT 'asdf' SELECT CURRENT_TIMESTAMP / return multiple result sets.

Kind regards, Evgeny.

https://gist.github.com/759814

tbk303 avatar Dec 30 '10 14:12 tbk303

Submitted:

deepcored ( deepcored ) - 2010-09-09 06:45:37 UTC

neurolabs avatar Dec 31 '10 16:12 neurolabs