It would be nice if you could specify a default value for a query parameter as often times running a parameterized query you have values are are usually, not but always the same. Something like the following where you are specifying a default parameter value for the IsDone parameter:
Also see 13744 for "dynamic defaults" specific to date/time/timestamp fields.
In the parameter dialog box there should be an option to reset all parameter value fields to any defaults defined, caveat that if a field does not have a default, it would be left alone and not cleared out.
One special default value should be something like "(null)" which would insert a null value into the column if not populated in the parameter dialog. If "(null)" isn't specified then instead an empty string should be inserted into the column.
Update to clarify; defaults are currently supported using &<param>=<value> as noted here: https://www.aquaclusters.com/app/home/project/public/aquadatastudio/wikibook/Documentation16/page/51/Parameterized-Scripts
Nor am I sure how the heck I missed the "default" button in the dialog that already exists :(
Which just leaves the null handling-- but also a low priority issue for me so you can demote this ticket if you like ;)
Issue #13743 |
Closed |
Completion |
No due date |
No fixed build |
No time estimate |
Update to clarify; defaults are currently supported using &<param>=<value> as noted here: https://www.aquaclusters.com/app/home/project/public/aquadatastudio/wikibook/Documentation16/page/51/Parameterized-Scripts
Nor am I sure how the heck I missed the "default" button in the dialog that already exists :(
Which just leaves the null handling-- but also a low priority issue for me so you can demote this ticket if you like ;)