15.10 - Setting Up the JSON_COMPOSE Basic Examples - Teradata Database

Teradata Database Teradata JSON

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1150-151K

Create and populate table(s) to use in subsequent example(s).

CREATE TABLE emp_table (
   empID INTEGER,
   company VARCHAR(50), 
   empName VARCHAR(20),
   empAge INTEGER);

INSERT INTO emp_table(1, 'Teradata', 'Cameron', 24); 
INSERT INTO emp_table(2, 'Teradata', 'Justin', 34); 
INSERT INTO emp_table(3, 'Apple', 'Someone', 34);