ClickHouse/tests/queries/0_stateless/02993_values_escape_quote.sql
Azat Khuzhin bbe38a3fe4 Add ability to escape quotes in Values format with single quote
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-02-15 12:47:29 +01:00

13 lines
389 B
SQL

select 'foo' format Values;
select 'foo\'bar' format Values;
select 'foo\'\'bar' format Values;
select '\noutput_format_values_escape_quote_with_quote=1' format LineAsString;
set output_format_values_escape_quote_with_quote=1;
select 'foo' format Values;
select 'foo\'bar' format Values;
select 'foo\'\'bar' format Values;
-- fix no newline at end of file
select '' format LineAsString;