When using Code Assist, there isn't a %SqlTextLast% parameter. Is it possible to use this?
From the help file, it doesn't state that "%SqlTextLast% "\" is supported.
* %SqlVar% - this is the MakeCode variable entered in the Toad Options | Editor | Code Assist | MakeCodeVariable box. Using a variable here is optional.
* %SqlLength% - This will be replaced by the number of characters in all selected SQL, on one or multiple lines.
* %SqlText% - This is replaced by the first line of SQL you have selected.
* %SqlTextNext% - This will be replaced by any subsequent lines of SQL you have selected. This is cumulative and includes ALL subsequent lines of SQL.