Skip to Main Content

SQLcl

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Sqcl command execution without database login

user9944749Apr 24 2019 — edited May 3 2019

Hi

I am trying to execute a pre commit shell script in git to execute sqcl FORMAT command.

script works fine when we log into DB using usrid/"pwd"@orcl.

But wanted to see if we can run below command without logging into a database.

FORMAT FILE ${the_added_file} ${the_added_file}

can sqcl commands can be executed without logging into a database.

like

c:\sqldeveloper\sqlcl\ bin\sql.exe FORMAT FILE ${the_added_file} ${the_added_file}

Any info on this much appreciated.

Thanks in advance.

Anand

This post has been answered by user9944749 on May 3 2019
Jump to Answer
Comments
Post Details
Added on Apr 24 2019
6 comments
1,202 views