Talend Using Custom SQL Template

81 Views Asked by At

So i would like to use the tSqlTemplate componente to delete all entries from a MySql database table. Should be simple enough:

enter image description here

here is the what the template looks like:

enter image description here

however i can't do anything with it, since i am unable to select it:

enter image description here

as you can see, the button "Hinzufügen" (meaning "add") is greyed out, meaning i cant add anything there. Then what is the use of the component?

For unidentified reasons it just started to work. Additionally a ';' was missing.

2

There are 2 best solutions below

0
On BEST ANSWER

For unidentified reasons it just started to work. Additionally a ';' was missing.

1
On

Why do you want to use tSQLTemplate?

It seems like you could just use tDBRow and execute your deletion query there.