Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2756

How to set a variable as an Alias for a Datastore

$
0
0

Hi everybody,

 

I would like to know if it's possible to set a variable as an Alias for a Datastore, and how to do it, so that when I execute a Job, I can choose the database schema at that moment through the Global variable tab.

 

My idea would be then:

 

1º) Create for my job a Global Variable called '$Schema' and establish 'DEV' as its default value

2º) Create an alias in my datastore "DATA" like "DATA = $Schema"

 

Then, when I pressed "Execute" over the Job that uses the datastore "DATA", I would be able to use either the default schema ('DEV') or change it to another one ('PRE', 'PRO', etc).

 

Thanks in advance and best regards


Viewing all articles
Browse latest Browse all 2756

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>