Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Colors to compile #10

Open
martindsouza opened this issue May 21, 2018 · 0 comments
Open

Add Colors to compile #10

martindsouza opened this issue May 21, 2018 · 0 comments

Comments

@martindsouza
Copy link

martindsouza commented May 21, 2018

See http://orasql.org/2013/05/22/sqlplus-tips-6-colorizing-output/

Example of how I used it:

set define off
--
<compile file>
--
set define on
@$SQL_FILE_COLOR
prompt &_C_RED
show errors
prompt &_C_RESET
exit;

Not sure if when running compile.sql you could reference colors.sql or if the path would come into play. Note colors.sql has some hidden characters so its important to include it as is (see blog post for file contents)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant