i need to rename a file in database using sql script. The sql script must be executed from an ant script.How can this be done?
Asked
Active
Viewed 446 times
1 Answers
1
If ant can call executables then you could call the sqlcmd.exe utility - you can pass it a query as a string (using -Q) or you can tell it a file that contains your commands (using -i).

Aaron Bertrand
- 272,866
- 37
- 466
- 490