Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前我在 TOAD 中使用以下查询,
DEFINE @name char(6); SET @name = 'Ronie'+'%'; select * from employee where name like @name;
它给出了我正在使用 TOAD for Oracle 的“缺失表达式”。
我希望这有效
DEFINE NAME = "Ronie%" (CHAR); select * from employee where name like '&&name';
也许问题就在这里:不是'Ronie'+'%'但是'Ronie'||'%'
'Ronie'+'%'
'Ronie'||'%'