The "</.../>" syntax - 7.3

Talend Open Studio User Guide

Version
7.3
Language
English
Product
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for Data Quality
Talend Open Studio for ESB
Module
Talend Studio
Content
Design and Development
Last publication date
2023-10-11
Available in...

Open Studio for Big Data

Open Studio for Data Integration

Open Studio for ESB

This syntax cannot span lines. The following list points out what you can do with this syntax and what you should pay attention to.

  • It can be used to generate the value of any existing parameter. The generated value should not be enclosed by quotation marks.

  • No space char is allowed after </ or before />.

  • Inside this syntax, the <%...%> or <%=...%> syntax should not be used.

The statement written in the below example is a valid one.

#sql sentence
DROP TABLE temp_</TABLE_NAME/>;

The statement identifies the TABLE_NAME parameter and then removes the corresponding table.

For more information on the <%...%> syntax, see The <%...%> syntax.

For more information on the <%=...%> syntax, see The <%=...%> syntax.

The following sections present more specific code used to access more complicated parameters.

Note:

Parameters that the SQL templates can access with this syntax are simple. They are often used for connection purpose and can be easily defined in components, such as TABLE_NAME, DB_VERSION, SCHEMA_TYPE, etc.