USE Statement

From: Ron Wingfield (rtwingfield_at_archaxis.net)
Date: 12/23/04


To: <dbi-users@perl.org>
Date: Thu, 23 Dec 2004 11:40:06 -0600

I would like to the specify the USE argument dynamically as for example:

     USE $database;

Apparently, the scalar is not recognized (compile error). Is it possible to
provide a dynamic insertion such that a user could specify via a run-time
parameter, which database the program is to use?

BTW, I'm a new forum user. Can someone please respond is this message
appears on the forum?

Thanks,
Ron W.



Relevant Pages

  • RE: USE Statement
    ... I do this by using a 'go' in the raw sql and then ... I would like to the specify the USE argument dynamically as for example: ... provide a dynamic insertion such that a user could specify via a run-time ... I'm a new forum user. ...
    (perl.dbi.users)
  • Re: Question about minloc
    ... why is it necessary to specify dim=1 ... Because the MINLOCintrinsic returns a 1-D array of minimum indices, ... returns the scalar minimum index for the specified dimension. ... if the DIM argument *weren't* present, ...
    (comp.lang.fortran)
  • Re: for loops
    ... Thank you, the program is working well, but now I want to specify the ... I'd recommend, for future code readability, that you ... create index matrices for each of your "classes" of elements: ... % Since L is a scalar, it will be expanded to fill the appropriate piece of ...
    (comp.soft-sys.matlab)
  • Re: Test requete
    ... Mickael Jouvin wrote: ... If that is not the reason of your "problems", please specify (compile error, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: fmincon
    ... Can you give us your expression you want to optimize to have better chances to help you? ... (also specify the value of your scalar i which you want to optimise) ...
    (comp.soft-sys.matlab)