我得到這個錯誤消息:ORA-06550:行3,列2:PLS-00103:出現符號爲 「1」 在需要下列之一時:
ORA-06550:行3,列2:PLS-00103:在需要下列之一時出現符號爲 「1」
:
開始功能編譯程序亞型類型當前光標刪除存在現有
對於這個代碼的Oracle APEX的Web應用程序:
declare
1_address varchar2(4000);
1_url varchar2(32000);
1_response varchar2(3200);
begin
1_address := :P3_STREET || ',' || :P3_CITY;
if :P3_STATE is not null then
1_address := 1_address || ',' || :P3_STATE;
end if;
if :P3_COUNTRY is not null then
1_address := 1_address || ',' || :P3_COUNTRY;
end if;
1_address := replace(1_address, ' ', '+');
1_url := 'http://maps.google.com/maps/geo?q=' || 1_address || '&' ||
'output=c sv' || '&' || 'key=' || :API_KEY;
1_response := utl_http.request(1_url, APEX_APPLICATION.G_PROXY_SERVER);
:P3_RESPONSE := 1_response;
:P3_LOCATION := substr(1_response, instr(1_response, ',', 1, 2) + 1);
end;
我想谷歌地圖整合到我的應用程序。
我跟着this指令,但它不起作用。
有人有解決方案的想法嗎?
請編輯您的代碼,使其可讀。提示:在代碼中使用'{}'按鈕或在每行的開頭放置四個空格。 –