in reply to Re: Masking data in a MySQL dump file. Ideas?
in thread Masking data in a MySQL dump file. Ideas?
Hi Laurent,
Only the SQL statements are delimited from each other by the new line characters. All the rows of data in the INSERT statement look like this:
INSERT INTO sample_table (first_name,last_name) VALUES ('John','Doe'),('John','Smith'),('Foo','O\'Bar'),('Baz','D\'Qux (II)'),('(and so on, ','and so forth);');No new line character starting from the beginning of the INSERT word and until the very terminating ; character.
The values inside quotes, of course, can contain embedded special characters like apostrophe, comma, opening and closing parentheses, semicolon.
Thank you
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Masking data in a MySQL dump file. Ideas?
by clueless newbie (Curate) on Oct 13, 2016 at 13:22 UTC | |
by dliakh (Acolyte) on Oct 13, 2016 at 15:14 UTC | |
by hippo (Archbishop) on Oct 13, 2016 at 17:17 UTC |