wlandgraf
(Wagner Landgraf)
2
You should just use your regular database-connection component, maybe you are using FireDAC, thus you should use TFDQuery to do so.
If you are using Aurelius, you can execute arbitrary SQL statements, it's explained in the following topics: