Informatica Data Quality
- Informatica Data Quality 10.4.0
- All Products
You can specify the table name in the SQL data service.CREATE TABLE emp (empID INTEGER PRIMARY KEY,eName char(50) NOT NULL,)
WhereCREATE TABLE emp.backup as select * from emp
WhereCREATE TABLE emp.backup as select * from emp [ [LIMIT n] ]
Type | Description |
---|---|
Literal data | Literals describe a user or system-supplied string or value that is not an identifier or keyword. Use strings, numbers, dates, or boolean values when you insert literal data into a temporary table. Use the following statement format to insert literal data into a temporary table:
For example, INSERT INTO temp_dept (dept_id, dept_name, location) VALUES (2, 'Marketing', 'Los Angeles') . |
Query data | You can query an SQL data service and insert data from the query into a temporary table. Use the following statement format to insert query data into a temporary table:
For example, INSERT INTO temp_dept(dept_id, dept_name, location) SELECT dept_id, dept_name, location from dept where dept_id = 99 .
You can use a set operator, such as
UNION , in the SQL statement when you insert query data into a temporary table. Use the following statement format when you use a set operator:
For example, INSERT INTO temp_dept select * from north_america_dept UNION select * from asia_dept .
|
If the table is not dropped on the physical database, the SQL data service drops the table the next time the Data Integration Service starts, if the table still exists.DROP TABLE <tableName>