calling a package asp

Results 1 to 2 of 2

Thread: calling a package asp

  1. #1
    Join Date
    Dec 1969

    Default calling a package asp

    Hi,<BR><BR>I am trying to call a package. I want to trap a return value.<BR>I am using the following code.<BR> cmd.ActiveConnection = db<BR> cmd.commandText = "test.greturn"<BR> cmd.CommandType = 4<BR> cmd.parameters.refresh<BR> cmd.execute<BR><BR> rtn_value = cmd.parameters (0)<BR><BR> set cmd = nothing<BR><BR>I am not getting a return value. Can anyone help<BR>Thanks,<BR><BR>Amisima

  2. #2
    Join Date
    Dec 1969

    Default Are you trying to call an *Oracle*

    package or rather a procedure in an Oracle package?<BR><BR>If yes, then show the procedure declaration from your package header and I&#039;ll show you the right syntax. <BR><BR>You are using the right object (i.e. - Command) but way off in syntax.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts