Skip to main content
8-Gravel
September 29, 2024
Solved

Create triggers for Oracle databases using Thingworx

  • September 29, 2024
  • 2 replies
  • 743 views

I tried to create an Oracle database trigger using Thingworx,Database connection successful.

I created a command service

Huaxu_0-1727602334277.png

An exception message is displayed after the command is executed

Huaxu_1-1727602369347.png

How can I resolve this exception

Best answer by Rocko

Try to use the <<>> notation instead of [[]] for the parameters. (see https://www.ptc.com/en/support/article/CS355016)

 

If all else fails. concat the string and use execute immediate, similar to Example 3 here: https://www.ptc.com/en/support/article/CS261346

 

2 replies

19-Tanzanite
September 30, 2024

Is the same command executing successfully if you run it in Oracle SQL Developer (or whatever equivalent of it you might use) ?

Rocko
Rocko19-TanzaniteAnswer
19-Tanzanite
September 30, 2024

Try to use the <<>> notation instead of [[]] for the parameters. (see https://www.ptc.com/en/support/article/CS355016)

 

If all else fails. concat the string and use execute immediate, similar to Example 3 here: https://www.ptc.com/en/support/article/CS261346