Re: questions to generic

From: Georg Bauhaus (sb463ba_at_l1-hrz.uni-duisburg.de)
Date: 09/29/04


Date: Wed, 29 Sep 2004 02:17:03 +0000 (UTC)

Rick Santa-Cruz <rick_santa_cruz75@msn.com> wrote:
: Hi,
:
: I have 2 questions:
: 1. ) Is it possible to create a generic procedure, which is not part of a
: package,

yes, the way you have done.

: where Gen_Test_Client is the start-procedure?

no. It has to be instantiated somewhere to become a real procedure.

: 2.) How is it possible to create a generic child package?

You might find it useful to think of child packages as nested
packages. Consider the steps it takes to make an instance
of the outer package. After you have an instance of the outer
package, you are back at step 1, where you instantiate some generic
package :-)

-- Georg



Relevant Pages

  • Re: Passing Variables to another package
    ... >> variables in the outer package, also known as the parent package, or in ... >> you description this is package A. You select the parent package ... >> variables that you want to be passed into the child package, ... >> existing global variables of child package. ...
    (microsoft.public.sqlserver.dts)
  • Re: Child Package Wont Fail Parent
    ... version...that there is a link to another package and could choose to update ... > child package, not the NEWEST one. ... > that the parent will unambiguously call that package. ... > calling the child that you're thinking it's calling and you need to do ...
    (microsoft.public.sqlserver.dts)
  • Re: Possible Ada deficiency?
    ... I can do this with a non-child package. ... > access to all of the private area as well. ... > makes the packages containing the derived type a child package or not. ... have to be mentioned in the "parent". ...
    (comp.lang.ada)
  • Re: Child Package Wont Fail Parent
    ... child package, not the NEWEST one. ... that the parent will unambiguously call that package. ... threads to ensure that it fails on first error, ...
    (microsoft.public.sqlserver.dts)
  • Re: Pass variables from parent DTS to child DTS package...
    ... The child package is executed by itself ... >though, I need to have a job run which calls the parent package, which ... >then executes the child package in a loop. ...
    (microsoft.public.sqlserver.dts)