Imacro脚本在Firefox中显示“错误代码-910”

时间:2018-06-25 13:36:12

标签: firefox imacros

我从一个朋友那里得到了这个宏,该朋友应该打开chaturbate网站的四个选项卡并运行几分钟。我尝试运行它,但出现此错误:

  

MacroSyntaxError:SET命令的格式错误,第4行(错误代码:-910)

declare
sqlqry clob;
cols clob;
begin
 select String_agg('''' || id || ''' as "' || id || '"', ',') 
 into   cols
 from   (select distinct id from your_table);


 sqlqry :=
  '      
  select * from
 (
  select *
  from your_table
 )
 pivot
(
max(name) for id in (' || cols  || ')
 )';

execute immediate sqlqry;
end;
/

任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:0)

您是否使用正确的引号"?试试这些:

SET !VAR1 EVAL("[javascript statements]")

来自https://wiki.imacros.net/EVAL