>>>>Thank you. I may break the query just to be sure that the user has access to the second database. Also, I don't like to use the DB name in the query (it would be hard-coding it). I prefer to use a handle.
>>>
>>>Nope, you can not use handles.
>>>You must use DataBaseName :-)
>>
>>I wonder if I can use a pseudo name for the DB so that I don't have to hard-code it in my query.
>
>Add the database to the SQL as a string from a character variable.
Yes, this is what I ended up doing.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham