Hi Andre, Here's my fifty cent answer to your million Dollar question. [:)]
Yes I am using a "here" document. However it is my take that a here document in KShell is just a streamed literal, which still needs to parsed by sqlplus and is subject to the rules of it's OS Client.
So if you mean I am mixing technologies by expecting a Windows tool to handle variables like a Unix/Linux client, I suppose you are correct.
That being said Toad handles variables the same as the Windows version of sqlplus. Both require a variable to include a period after the variable(&&OWNER.) or including a double period between the OWNER..TABLENAME in the sql itself.
Since Toad is a windows tool I understand it should handle variables the same as it's respective Oracle's OS client. .
Actually it is Oracle's fault for not having consistent Syntax across OS systems. So I blame Oracle!! lol