OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: SQL commands markup


/ Jorge Godoy <godoy@conectiva.com> was heard to say:
| > LOAD DATA [LOW_PRIORITY] [LOCAL] INFILE 'file_name.txt'
| > [REPLACE | IGNORE]
| >     INTO TABLE tbl_name
| >     [FIELDS
| >         [TERMINATED BY 't']
| >         [OPTIONALLY] ENCLOSED BY '']
| >         [ESCAPED BY '\' ]]
| >     [LINES TERMINATED BY 'n']
| >     [IGNORE number LINES]
| >     [(col_name,...)]
| 
| I'm not an SQL expert, but some of my authors are requesting me that. 

I think we'd need some imput from SQL experts here. At first glance,
that looks like it could be:

<cmdsynopsis role="sql">
<command>load data</command>
<arg>low_priority</arg>
<arg>local</arg>
<arg choice="req">infile
  <arg choice="req">'<replaceable>file_name.txt</replaceable>'</arg>
</arg>
<group>
  <arg>replace</arg>
  <arg>ignore</arg>
</group>
...
</cmdsynopsis>

And then an important question is, what are the rules/conventions for
formatting one of these things?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Nature is amoral, not immoral.
http://www.oasis-open.org/docbook/ | [It] existed for eons before we
Chair, DocBook Technical Committee | arrived, didn't know we were
                                   | coming, and doesn't give a damn
                                   | about us.--Stephen J. Gould


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC