Haven't had any luck searching for a solution but then I'm not sure exactly what to call it.
I have several queries created that reference an external database using the 'IN' statement. That works fine however what I'd like to do is setup the path to that external table in either a global variable or a table that I can then reference in the queries. This would avoid a situation where if the external database moves then I can, in one spot, change the path. Otherwise it'd be a matter of updating it everywhere dozens of times.
I've tried setting the path a in table that I then reference in the query like '[tablename].fieldname' but that threw an error. Any ideas on how to accomplish this or if it's even possible? TIA
I have several queries created that reference an external database using the 'IN' statement. That works fine however what I'd like to do is setup the path to that external table in either a global variable or a table that I can then reference in the queries. This would avoid a situation where if the external database moves then I can, in one spot, change the path. Otherwise it'd be a matter of updating it everywhere dozens of times.
I've tried setting the path a in table that I then reference in the query like '[tablename].fieldname' but that threw an error. Any ideas on how to accomplish this or if it's even possible? TIA