Jump to content
Sign in to follow this  
DrShepard

FireDAC with multiple SQL

Recommended Posts

Posted (edited)

Hello!

I am trying to execute multiple SQL statements at once in an anonymous block of code. I am using FireDAC and Postgres database. When I set the parameters, I get an error on execution: 'Parameter 'p_val1' not found'

https://pastebin.com/dPRB8T3d

I tried TFDСommand and TFDScript objects, but it didn't help. What am I doing wrong?

Edited by DrShepard

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×