Can i use UI Path in executing sql files?

Can i use UI Path in executing sql files ?

Hi @paolomondelo,

Yes of course you can, have a look here

Do not forget to add Database Activities package

Thanks,
Prankur

I mean like can i just simply call a file called Test123.sql and execute it? I knpw the execute query function of ui path simply executes an sql statement and not the sql file itself.

I’m looking into this myself.

Hi,
This type of expression is doing the trick

File.ReadAllText("myfile.sql")

Read Text File activity should work as well.

Cheers