Comments - About the Knowledge Base

 
7 years, 2 months ago Giuseppe Calamita

Hello, I'm committed to a United Nations volunteer project; I'm using Xampp ((Mariadb10.1) for a database application related to a vocational school. After my deep search, I have found nothing comparable to the complete PDF guide available for the MySQL 5.7 https://dev.mysql.com/doc/ it would be sufficient to make a PDF from the section of the statements and their syntax available in this website. When that will be done I'm sure the base of users will enlarge a lot. Thank you. Giuseppe Calamita

 
7 years, 2 months ago Ian Gilfillan

Unfortunately there is no downloadable version at present. See MDEV-6881 and feel free to vote for or comment on that issue.

 
7 years, 2 months ago Giuseppe Calamita

Why not download and convert to PDF the existing section of this website on SQL statements and make it available to all interested in here?

 
7 years, 11 months ago Art Lawrence

I have found that the syntax in the documentation contains allot of closed brackets, and I'm wondering what all of that means. For example,

 LOAD DATA [LOW_PRIORITY | CONCURRENT] [LOCAL] INFILE 'file_name'
    [REPLACE | IGNORE]
    INTO TABLE tbl_name
    [CHARACTER SET charset_name]
    [{FIELDS | COLUMNS}
        [TERMINATED BY 'string']
        [[OPTIONALLY] ENCLOSED BY 'char']
        [ESCAPED BY 'char']
    ]
    [LINES
        [STARTING BY 'string']
        [TERMINATED BY 'string']
    ]
    [IGNORE number LINES]
    [(col_name_or_user_var,...)]
    [SET col_name = expr,...]

I have not found a document that explains the conventions used in the documentation, particularly the knowledge base articles.

 
7 years, 11 months ago Ian Gilfillan

[..] means that the contents are optional, and | means OR. So, in your example, you can use LOAD DATA LOW PRIORITY... or LOAD DATA CONCURRENT..., or neither option, just LOAD DATA...

You're right that there should be a key - these are standard conventions, but should still be explained.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.