File: string_source.sql

package info (click to toggle)
mysql-workbench 6.2.3%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 102,612 kB
  • ctags: 84,593
  • sloc: ansic: 804,682; cpp: 438,759; yacc: 59,129; python: 54,293; xml: 48,851; sql: 5,512; objc: 1,414; makefile: 505; sh: 455; java: 237; ruby: 6; perl: 5; php: 1
file content (17 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
BEGIN TRANSACTION;

DROP TABLE IF EXISTS StringContainer;

CREATE TABLE StringContainer (
  id INTEGER PRIMARY KEY,
  str_data VARCHAR(100)
);

INSERT INTO StringContainer (id, str_data) VALUES (1, NULL);
INSERT INTO StringContainer (id, str_data) VALUES (2, '');
INSERT INTO StringContainer (id, str_data) VALUES (3, 'A normal string with spaces and numb3r5');
INSERT INTO StringContainer (id, str_data) VALUES (4, '"`'';');
INSERT INTO StringContainer (id, str_data) VALUES (5, '!$%&/()=?¡');
INSERT INTO StringContainer (id, str_data) VALUES (6, 'áéíóú àèìòù âêîôû äëïöü €¬');
 
COMMIT TRANSACTION;