Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Newcomer
Description
It would be nice to be able to parameterize ij scripts. At a high level, this would be akin to the $N parameters which you pass on the command line to Unix shell scripts. I think it would be easiest to understand if parameter substitution happened before the script was handed to the ij parser.
It would be nice to write something like the following:
connect 'jdbc:derby:$1;user=$2;password=$3';
insert into $4( a ) values ( $5 );
or something like this:
connect 'jdbc:derby:${dbname};user=${user};password=${password}';
insert into ${tableName} values ( ${intValue} );
Attachments
Issue Links
- is duplicated by
-
DERBY-5298 Add parameters to ij scripts
- Closed
- is related to
-
DERBY-4566 Make it possible to define variables in ij
- Open