Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
"Formatting several Read Database queries at once"
jaakko1
Hello all,
I have a process with ten different "Read Database" operators that all include an SQL script with a date in them. I would like to be able to change this date on all the operators at once without having to click through all the operators and change the date individually. Is there a way to do this? Many thanks again in advance for your help.
Find more posts tagged with
AI Studio
Databases
Accepted answers
All comments
Marco_Boeck
Hi,
you can use macros for that. For example, using the following query in a Read Database operator replaces the FROM clause with the macro value specified:
SELECT %{name} FROM test;
To set a macro you can either define it in the process context (View -> Show View -> Context) or use one of the macro operators.
Regards,
Marco
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups