Zum Hauptinhalt gehen

SqlNonQuery stored procedure - how to retrieve value from out parameter

Kommentare

3 Kommentare

  • Ryan Cooney

    Hi Jin,

    Unfortunately the current version of the activity does not populate out paramters. We have recently added support for this during development so it will be available in a future release.

    --Ryan

    0
  • Permanently deleted user

    Hi, Jin,

    If you can't wait until the next lease of GE/GVS, you can achieve this by two step SQL Activities call using 'Oracle Sequence'.

    (1) Define your Oracle Sequence which generates auto-incremented numbers which you can use as the primary key of your real db record to insert.

    (2) Run SQL Activity to get the next Sequence value like 'SELECT [Your Sequence name].NEXTVAL FROM dual'

    (3) then run  the second SQL Activity to insert with next Sequence value to your table.

    That is what I am doing for the project I am working on.

    As Ryan says, you can do this with one step with next release of GE though.

    0
  • Permanently deleted user

    Munwhan,

    Thanks for the suggestion, that will be a good work around before the next release of coming out. Appreciate it!

     

    Regards,

     

    Jin

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.