mirror of
https://github.com/postgres/postgres.git
synced 2026-03-01 12:50:55 -05:00
24 lines
412 B
MySQL
24 lines
412 B
MySQL
|
|
--
|
||
|
|
-- Test various data entry syntaxes.
|
||
|
|
--
|
||
|
|
|
||
|
|
-- SQL92 string continuation syntax
|
||
|
|
SELECT 'first line'
|
||
|
|
' - next line'
|
||
|
|
' - third line'
|
||
|
|
AS "Three lines to one";
|
||
|
|
|
||
|
|
-- illegal string continuation syntax
|
||
|
|
SELECT 'first line'
|
||
|
|
' - next line' /* this comment is not allowed here */
|
||
|
|
' - third line';
|
||
|
|
|
||
|
|
--
|
||
|
|
-- test conversions between various string types
|
||
|
|
--
|
||
|
|
|
||
|
|
SELECT text(f1) FROM CHAR_TBL;
|
||
|
|
|
||
|
|
SELECT text(f1) FROM VARCHAR_TBL;
|
||
|
|
|