Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Stephen F. Cawley — — source: Informix-list mailing list archive (1991-1998)
No, but you can write a script (which likes variables) to generate the SQL and
then pipe it through dbaccess.
SC
> Hi Listers,
>
> I need to create a table everytime in a specific dbspace. Our Application
> uses a batch process that drops and recreates the table every night using
> predefined create table sql's. Instead of hardcoding the in 'dbspacename' in
> each SQL file, can I use a variable such as in $DBSPACENAME in the SQL which
> is defined in the users' .profile.
> Actually, I tried this already but it did not work. Is there any way to
> accomplish this?
>
> Thanks in advance,
>
> Denmark W.
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.