Creating postgresql schemas and tables

So, I'm attempting to use ignition scripting to create schemas and tables in postgres and am stuck. Part of my code is below (the part that gives an error):

Snag_40d921a

I'm not sure what else to try. Any feedback will be appreciated.

Can you post the error that is being generated?

Here is the error. I just changed the command from runUpdateQuery to runPrepQuery and my schema was created when using the script console. However, I get the same error as when using the runUpdateQuery command.

I got it to work by using runPrepUpdate instead.

1 Like