SQL command line tools via pc:PowerShell

Previous Next

Using the pc:PowerShell directive, you can execute and commit a SQL script stored in a text file by connecting to an RDBMS-specific SQL command line tool.

The examples below connect to sqlplus for Oracle and to sqlcmd.exe for SQL Server.

 

 

collapseOracle sqlplus
collapseSQL Server sqlcmd.exe

 

 

See also

pc:RdbmsStatement

pc:PowerShell