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

Unnsessesary message when executing script [CORE3063] #3442

Open
firebird-automations opened this issue Jul 1, 2010 · 2 comments
Open

Unnsessesary message when executing script [CORE3063] #3442

firebird-automations opened this issue Jul 1, 2010 · 2 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Ain Valtin (ain)

When running SQL script via command line like this:

isql.exe -input Test.sql

where test.sql file contains single line

CREATE DATABASE 'test.fdb' USER 'x' PASSWORD 'x' DEFAULT CHARACTER SET UTF8;

following message is printed

Use CONNECT or CREATE DATABASE to specify a database

Database is created OK.
It seems that this message is always printed when ISQL is executed while it makes sense only when interactive session is started.

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Use switch -quiet

@firebird-automations
Copy link
Collaborator Author

Commented by: Ain Valtin (ain)

How quiet is quiet (InterBase 6 Operations Guide lists the parameter but doesn't have any comments about it's effect)? I wouldn't want to miss any error messages...
But the point really is that the message is quite pointless, even irritating... anyone who uses command line tools should be able to find information how to use the tool. What if I started the interactive session to load/execute some script?
If you (FB developers) feel that this helps to reduce support questions then I would suggest that the message at the start of the interactive session should be something like "Type ? to gel list of available commands" and the list should include the CONNECT and CREATE DATABASE commands (which it currently does not).

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

No branches or pull requests

1 participant