Commenting a dbload command file
Posted in 1999
Topics: General Discussion
Stephen Roach wrote:
>
> As I'm auto-generating a set of dbload command files, I would like to
> put comments into them to help out the ops boys if anything goes wrong
> (date and time of generation, etc). I've tried all the 'this is a
> comment, ignore the rest of the line' syntax I can think of; --, #,
> but informix tries to process it and falls over with an error.
>
> Anyone know the syntax for this, assuming there is one?
I've tried the SQL multi-line comment format and that seems to work:
{ Comment here! }
Art S. Kagel
As I'm auto-generating a set of dbload command files, I would like to
put comments into them to help out the ops boys if anything goes wrong
(date and time of generation, etc). I've tried all the 'this is a
comment, ignore the rest of the line' syntax I can think of; --, #,
but informix tries to process it and falls over with an error.
Anyone know the syntax for this, assuming there is one?
---------------------------------------------------------
Steve Roach: Remove NOSPAM from address to reply:
steve_roach@NOSPAMibm.net
steve_roach@NOSPAMhotmail.com
On Mon, 29 Mar 1999 12:06:31 -0500, "Art S. Kagel"
<kagel@bloomberg.net> wrote:
> Stephen Roach wrote:
> >
> > As I'm auto-generating a set of dbload command files, I would like to
> > put comments into them to help out the ops boys if anything goes wrong
> > (date and time of generation, etc). I've tried all the 'this is a
> > comment, ignore the rest of the line' syntax I can think of; --, #,
> > but informix tries to process it and falls over with an error.
> >
> > Anyone know the syntax for this, assuming there is one?
>
> I've tried the SQL multi-line comment format and that seems to work:
>
> { Comment here! }
>
> Art S. Kagel
Damn. Thanks Art, the one I didn't try.
---------------------------------------------------------
Steve Roach: Remove NOSPAM from address to reply:
steve_roach@NOSPAMibm.net
steve_roach@NOSPAMhotmail.com