facebook

Multi-line Script fails

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #223277 Reply

    pdohara
    Member

    I have a number of SQL scripts of the form:

    declare @GROUP_XREF varchar(30)
    select @GROUP_XREF = ‘feedtest’;
    select GROUP_ID from gr_group where XREF = @GROUP_XREF;

    This does not work in the MyEclipse Database Explorer. I assume this is because MyEclipse is parsing the file and executing the statements in seperate connections, or something like that. Is there a setting that can be changed to allow scripts like that to work? There are other tools where multi-line scripting works, but none of them are offered as an Eclipse plugin.

    Thanks for your time on this

    Pat O

    #223281 Reply

    Riyad Kalla
    Member

    I don’t think this is supported, but I’m checking on it.

    #223326 Reply

    support-jeff
    Member

    Have you tried selecting each statement and executing individually? I know it’s a pain for scripting work, but that should work.

    Because the script has multiple resultsets, it won’t work the way DE is designed. I will put in an RFE though.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Multi-line Script fails

You must be logged in to post in the forum log in