<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;C0AEQng9fSp7ImA9WhRbFkQ.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478</id><updated>2012-02-08T16:01:43.665+07:00</updated><category term="subquery" /><category term="AFTER_PARAMETER_FORM" /><category term="flash" /><category term="decode" /><category term="programPhoto" /><category term="เพลง" /><category term="PL/SQL" /><category term="setสี" /><category term="directory" /><category term="FRM" /><category term="เล่าสู่กันฟัง" /><category term="date" /><category term="grant" /><category term="หาความต่างวันเวลา" /><category term="Function String" /><category term="วาเลนไทน์" /><category term="LPAD" /><category term="GET_RADIO_BUTTON_PROPERTY" /><category term="having" /><category term="msn" /><category term="Exception" /><category term="union" /><category term="หนัง" /><category term="cursor" /><category term="plugin" /><category term="to _number" /><category term="Framework" /><category term="editplus" /><category term="script" /><category term="Function number" /><category term="วันที่เริ่มต้น-วันที่สิ้นสุด" /><category term="set_PROPERTY" /><category term="redirect" /><category term="elgg" /><category term="minus" /><category term="SUBSTR" /><category term="update" /><category term="ความรู้ทั่วไป" /><category term="open file" /><category term="INSTR" /><category term="select" /><category term="msconfig" /><category term="to_date" /><category term="php" /><category term="nvl" /><category term="remote" /><category term="creat table" /><category term="alter" /><category term="join" /><category term="TOAD" /><category term="font" /><category term="เกมส์" /><category term="ERWin" /><category term="wordpress" /><category term="oracle" /><category term="replace" /><category term="GroupOffice" /><category term="DML" /><category term="long live the king" /><category term="report" /><category term="eoffice" /><category term="sql" /><category term="Auto_Increment" /><category term="TS2" /><category term="Database" /><category term="หนังสือ" /><category term="CMS" /><category term="microsoft" /><category term="add item" /><category term="to_char" /><category term="find_constrints" /><category term="error" /><title>!!~~~wundee~~~!! o_O</title><subtitle type="html">neKo lovely JUBU--JUBU</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://wundee.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>149</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/wundeeO_o" /><feedburner:info uri="wundeeo_o" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>wundeeO_o</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><entry gd:etag="W/&quot;DkADQ3k7fyp7ImA9WhRWGE8.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-5520719279991995461</id><published>2012-01-06T11:33:00.001+07:00</published><updated>2012-01-06T11:39:32.707+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-06T11:39:32.707+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="grant" /><category scheme="http://www.blogger.com/atom/ns#" term="directory" /><category scheme="http://www.blogger.com/atom/ns#" term="open file" /><category scheme="http://www.blogger.com/atom/ns#" term="oracle" /><title>EX.สร้าง directory เก็บ path และ การใช้คำสั่ง อ่าน file</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/5520719279991995461/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2012/01/ex-directory-path-file.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/5520719279991995461?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/5520719279991995461?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/r3b8tDimSfg/ex-directory-path-file.html" title="EX.สร้าง directory เก็บ path และ การใช้คำสั่ง อ่าน file" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">
create directory some_dir;
grant read, write on directory some_dir to micky_mouse;


create or replace directory dir_temp as 'c:\temp';

declare
  f utl_file.file_type;
begin
  f := utl_file.fopen('DIR_TEMP', 'something.txt', 'w');
  utl_file.put_line(f, 'line one: some text');
  utl_file.put_line(f, 'line two: more text');
  utl_file.fclose(f);
end;
/
ที่มา: http://www.adp-gmbh.ch/ora/sql/
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rQW86RlkbLcefFcdO6JwCFoOKGw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rQW86RlkbLcefFcdO6JwCFoOKGw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rQW86RlkbLcefFcdO6JwCFoOKGw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rQW86RlkbLcefFcdO6JwCFoOKGw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/r3b8tDimSfg" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2012/01/ex-directory-path-file.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMDQXYyeip7ImA9WhRWFkg.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-4595573020766109032</id><published>2012-01-04T12:04:00.001+07:00</published><updated>2012-01-04T12:04:30.892+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-04T12:04:30.892+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Database" /><category scheme="http://www.blogger.com/atom/ns#" term="ERWin" /><title>gen ER-diagram จาก base ด้วย ERwin</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/4595573020766109032/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2012/01/gen-er-diagram-base-erwin.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/4595573020766109032?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/4595573020766109032?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/1UoFQGtGodw/gen-er-diagram-base-erwin.html" title="gen ER-diagram จาก base ด้วย ERwin" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-FToSF1RFu4c/TwPVn8_4jlI/AAAAAAAAFOo/wnA_7wXn7P8/s72-c/1_gen_ER_fromBASE.jpg" height="72" width="72" /><thr:total>0</thr:total><content type="html">



























&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/L8dsOqh4XNhRzPlxnmKGEYX5G7Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/L8dsOqh4XNhRzPlxnmKGEYX5G7Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/L8dsOqh4XNhRzPlxnmKGEYX5G7Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/L8dsOqh4XNhRzPlxnmKGEYX5G7Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/1UoFQGtGodw" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2012/01/gen-er-diagram-base-erwin.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMARnc7eCp7ImA9WhRWFUg.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-3369097896588869120</id><published>2012-01-03T09:24:00.000+07:00</published><updated>2012-01-03T09:24:07.900+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-03T09:24:07.900+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="oracle" /><title>System is locked!!!</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/3369097896588869120/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2012/01/system-is-locked.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/3369097896588869120?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/3369097896588869120?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/NvYtBvOOSfI/system-is-locked.html" title="System is locked!!!" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">

กรณีที่ lockon เข้า server ด้วย SYSTEM แล้วปรากฏว่า ขึ้น 
Message นี้ 
System is locked!!!



ให้เข้าด้วย sys  
แล้วใช้คำสั่ง  
 alter 
user system account unlock;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UYE_qcaBOyK9KqkqMtkQaH1P5uQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UYE_qcaBOyK9KqkqMtkQaH1P5uQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UYE_qcaBOyK9KqkqMtkQaH1P5uQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UYE_qcaBOyK9KqkqMtkQaH1P5uQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/NvYtBvOOSfI" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2012/01/system-is-locked.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MDRnw-eip7ImA9WhRXGEo.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-2139640421359535536</id><published>2011-12-26T10:51:00.000+07:00</published><updated>2011-12-26T10:51:17.252+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-26T10:51:17.252+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><title>for update nowait--log user update</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/2139640421359535536/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/12/for-update-nowait-log-user-update.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/2139640421359535536?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/2139640421359535536?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/R3PPGofRH-0/for-update-nowait-log-user-update.html" title="for update nowait--log user update" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">BEGINSELECT CORDER_IDINTO vn_corder_id2FROM CORDER_HEADWHERE 
CORDER_ID = vn_corder_id1FOR UPDATE NOWAIT;EXCEPTION WHEN No_Data_Found 
THEN vn_corder_id2 := NULL;WHEN Others THENIF sqlcode = -00054 
THENis_locked := TRUE;END IF;IF is_locked 
THENshow_stop_message('This record can''t be updated at this time because it 
is reserved for an update. If the record isn''t open for another user then this
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/M9SZzJuMg6GQt3cnvGi5u-wKneo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M9SZzJuMg6GQt3cnvGi5u-wKneo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/M9SZzJuMg6GQt3cnvGi5u-wKneo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M9SZzJuMg6GQt3cnvGi5u-wKneo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/R3PPGofRH-0" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/12/for-update-nowait-log-user-update.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYFSX48fip7ImA9WhRXEE4.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-7175939196005590307</id><published>2011-12-16T17:41:00.004+07:00</published><updated>2011-12-16T17:41:58.076+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-16T17:41:58.076+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="font" /><category scheme="http://www.blogger.com/atom/ns#" term="setสี" /><title>set สี font pl/sql</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/7175939196005590307/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/12/set-font-plsql.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/7175939196005590307?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/7175939196005590307?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/9zo8x58sslc/set-font-plsql.html" title="set สี font pl/sql" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">set_item_instance_property('RG_LOAD_TEXT_MASTER.REG_SEQ',CURRENT_RECORD,VISUAL_ATTRIBUTE ,'BLUE');

ไว้ที่ post-query
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/60WVGuK3Spbmlfj2-Hr8EzVgI0c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/60WVGuK3Spbmlfj2-Hr8EzVgI0c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/60WVGuK3Spbmlfj2-Hr8EzVgI0c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/60WVGuK3Spbmlfj2-Hr8EzVgI0c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/9zo8x58sslc" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/12/set-font-plsql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkAFRX0_eCp7ImA9WhRSFk0.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-7953029366928464194</id><published>2011-11-14T11:06:00.001+07:00</published><updated>2011-11-18T16:31:54.340+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-18T16:31:54.340+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="error" /><category scheme="http://www.blogger.com/atom/ns#" term="Database" /><category scheme="http://www.blogger.com/atom/ns#" term="oracle" /><title>PLS 00201: ERROR ตอน compile pkg</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/7953029366928464194/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/11/pls-00201-error-compile-pkg.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/7953029366928464194?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/7953029366928464194?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/P0ZyO3Gt5oQ/pls-00201-error-compile-pkg.html" title="PLS 00201: ERROR ตอน compile pkg" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">

Grant execute on dbms_crypto to
;

EX.
เข้า sys --&amp;gt; sysdba
Grant execute on dbms_crypto to stougd; 
เวลาที่เรามีการเรียกใช้ pkg DBMS_CRYPTO ถ้าไม่ Grant สิทธิ์ ให้เราจะไม่สามารถ compile ผ่านได้

EX.
vByte    := UTL_RAW.CAST_TO_VARCHAR2(DBMS_CRYPTO.RANDOMBYTES(1));
l_encrypted    := DBMS_CRYPTO.ENCRYPT(    src =&amp;gt; l_ssn,

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/LIlp9lrlV5-QY4hitl51bHw-l4Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LIlp9lrlV5-QY4hitl51bHw-l4Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/LIlp9lrlV5-QY4hitl51bHw-l4Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LIlp9lrlV5-QY4hitl51bHw-l4Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/P0ZyO3Gt5oQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/11/pls-00201-error-compile-pkg.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04MQHs4eSp7ImA9WhdaEE8.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-3410982787256830330</id><published>2011-10-19T17:59:00.001+07:00</published><updated>2011-10-19T17:59:41.531+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-19T17:59:41.531+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="GET_RADIO_BUTTON_PROPERTY" /><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><title>GET_RADIO_BUTTON_PROPERTY--&gt; ไว้ get ค่าจากปุ่ม radio</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/3410982787256830330/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/10/getradiobuttonproperty-get-radio.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/3410982787256830330?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/3410982787256830330?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/kVfYkanfWys/getradiobuttonproperty-get-radio.html" title="GET_RADIO_BUTTON_PROPERTY--&gt; ไว้ get ค่าจากปุ่ม radio" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">GET_RADIO_BUTTON_PROPERTY(item_id ITEM, button_name VARCHAR2, property NUMBER); 

GET_RADIO_BUTTON_PROPERTY(item_name VARCHAR2, button_name VARCHAR2, property NUMBER);

EX. Get_Radio_Button_Property( it_id, 'REJECTED', VISIBLE);

it_id หรือ it_name เป็นชื่อของ radio group 
button_name คือ ชื่อ ปุ่มนั้นๆ เช่น cancel ok approve etc.
property คือ คุณสมบัติที่จะนำมาใช้เช่น enable, disable, label, 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/roMrDV7JjPs4a5N_xG8tSgg5ESo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/roMrDV7JjPs4a5N_xG8tSgg5ESo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/roMrDV7JjPs4a5N_xG8tSgg5ESo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/roMrDV7JjPs4a5N_xG8tSgg5ESo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/kVfYkanfWys" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/10/getradiobuttonproperty-get-radio.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMEQ349cSp7ImA9WhdbGU4.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-3576274230419156643</id><published>2011-10-18T18:29:00.002+07:00</published><updated>2011-10-18T18:30:02.069+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-18T18:30:02.069+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="Exception" /><title>Exception</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/3576274230419156643/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/10/exception.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/3576274230419156643?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/3576274230419156643?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/h9SVSJKvSfo/exception.html" title="Exception" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">



Oracle Exception NameOracle ErrorExplanation
DUP_VAL_ON_INDEXORA-00001คุณพยายามที่จะรันคำสั่ง INSERT หรือ UPDATE ที่มีการสร้างค่าที่ซ้ำกันใน field ที่ห้ามซ้ำเช่นเป็น PK, FK
TIMEOUT_ON_RESOURCEORA-00051คือมีการใช้ทรัพยากร หรือไม่เครื่องรันนานเกินจนหมดเวลา
TRANSACTION_BACKED_OUTORA-00061มีการ rolled back ข้อมูลขณะที่คุณกำลัง procress
INVALID_CURSORORA-01001คุณพยายามอ้างถึง cursor ที่ไม่มีอยู่ 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xZhGgwGcjHl0P9FSi3VF5XKUUU4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xZhGgwGcjHl0P9FSi3VF5XKUUU4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xZhGgwGcjHl0P9FSi3VF5XKUUU4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xZhGgwGcjHl0P9FSi3VF5XKUUU4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/h9SVSJKvSfo" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/10/exception.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0AAR30zfSp7ImA9WhdbE00.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-5672729302676267172</id><published>2011-10-11T12:08:00.002+07:00</published><updated>2011-10-11T12:09:06.385+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-11T12:09:06.385+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="update" /><title>update for reference other table</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/5672729302676267172/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/10/update-for-reference-other-table.html#comment-form" title="1 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/5672729302676267172?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/5672729302676267172?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/UIekPJbwvpg/update-for-reference-other-table.html" title="update for reference other table" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>1</thr:total><content type="html">update bg_forward_budget
 
 
   
set 
  amount = (select amount
 
 
                 
                       from bg_forward_master
 
 
                                       where forward_id =   bg_forward_budget.forward_id
 
 
                  
                      and bg_type  ='FW'
 
 
                  and budget_year_control
  =2555)           
 
 
   
, amount_balance =(select amount
 

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nPixOmnGftODf9SbX2YetK9yDNk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nPixOmnGftODf9SbX2YetK9yDNk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nPixOmnGftODf9SbX2YetK9yDNk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nPixOmnGftODf9SbX2YetK9yDNk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/UIekPJbwvpg" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/10/update-for-reference-other-table.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYBSHY6fyp7ImA9WhdVFko.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-6626934443877142225</id><published>2011-09-22T14:55:00.004+07:00</published><updated>2011-09-22T14:55:59.817+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-22T14:55:59.817+07:00</app:edited><title>UPDATE...set...= select</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/6626934443877142225/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/09/updateset-select.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/6626934443877142225?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/6626934443877142225?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/P0rpAtY0sM8/updateset-select.html" title="UPDATE...set...= select" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">

UPDATE suppliers a
SET supplier_name =( SELECT b.nameFROM customers bWHERE b.customer_id = a.supplier_id)
WHERE EXISTS  ( SELECT b.name    FROM customers b    WHERE b.customer_id = a.supplier_id);


&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aPyHLbd3GDXzqq2XUEf6jWr9uDs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aPyHLbd3GDXzqq2XUEf6jWr9uDs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aPyHLbd3GDXzqq2XUEf6jWr9uDs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aPyHLbd3GDXzqq2XUEf6jWr9uDs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/P0rpAtY0sM8" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/09/updateset-select.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UBQHc5cCp7ImA9WhdWGU4.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-5513337648379860792</id><published>2011-09-07T17:04:00.001+07:00</published><updated>2011-09-13T23:27:31.928+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-13T23:27:31.928+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="having" /><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><title>HAVING หลายเงื่อนไข</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/5513337648379860792/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/09/having.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/5513337648379860792?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/5513337648379860792?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/ZAXlxZZHA9U/having.html" title="HAVING หลายเงื่อนไข" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">
การใช้ having จะต้องตามหลัง group by

EX.

select a.bg_type, sum(b.amount), sum(b.add_amt), sum(b.usage_amt), sum(b.return_amt), sum(b.amount_balance)
from bg_forward_master a, bg_forward_budget b
where  b.ou_code = a.ou_code
and b.bg_type = a.bg_type
and b.forward_id = a.forward_id
and a.approve_status = 'A'
--and a.bg_type = 'FW'
and b.budget_id = '897'
and a.ou_code = '000'
and 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/COUdUrDUMRXZa79ZPZ4xjuPSV5M/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/COUdUrDUMRXZa79ZPZ4xjuPSV5M/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/COUdUrDUMRXZa79ZPZ4xjuPSV5M/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/COUdUrDUMRXZa79ZPZ4xjuPSV5M/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/ZAXlxZZHA9U" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/09/having.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAEQXkzeyp7ImA9WhdUE0g.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-7916988353582702147</id><published>2011-09-07T16:32:00.003+07:00</published><updated>2011-09-30T10:18:20.783+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-30T10:18:20.783+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Function number" /><title>function--&gt;ปัดเศษ</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/7916988353582702147/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/09/function.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/7916988353582702147?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/7916988353582702147?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/Fmao93Kzo7A/function.html" title="function--&gt;ปัดเศษ" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">SQL :: Math Function
ABS() ใช้หาค่าสัมบูรณ์
POWER() ใช้หาค่ายกกำลัง
SQRT() ใช้หาค่ารากที่สอง
RAND() ใช้หาค่าสุ่มระหว่าง 0 และ 1
ROUND() ใช้ปัดเศษทศนิยมตามหลักสากล ตามจำนวนจุดทศนิยมที่กำหนด
CEILING() ใช้ปัดเศษให้มีค่ามากขึ้น ( ปัดเศษให้เป็นเลขจำนวนเต็ม )
FLOOR() ใช้ปัดเศษให้มีค่าน้อยลง ( ปัดเศษให้เป็นเลขจำนวนเต็ม )
SING() ไว้หาประเภทจำนวนตัวเลข ถ้า -1 (จำนวนติดลบ) , 1 (จำนวนบวก), 0 จำนวนเต็ม 0




&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Slo74m7WcWIBO1vjZYN86Ketim8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Slo74m7WcWIBO1vjZYN86Ketim8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Slo74m7WcWIBO1vjZYN86Ketim8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Slo74m7WcWIBO1vjZYN86Ketim8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/Fmao93Kzo7A" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/09/function.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUHRX4ycSp7ImA9WhdXGUs.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-476557384354784249</id><published>2011-09-02T17:43:00.000+07:00</published><updated>2011-09-02T17:43:54.099+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-02T17:43:54.099+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="minus" /><title>minus</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/476557384354784249/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/09/minus.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/476557384354784249?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/476557384354784249?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/0bBKwlDENg4/minus.html" title="minus" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">ไว้หาความแตกต่างของ 2 table หรือ 2 query ที่มี column ที่นำมาเปรียบเทียบจำนวนเท่ากัน

syntax

select field1, field2, . field_n
from tables
MINUS
select field1, field2, . field_n
from tables;

The following is an MINUS query that uses an ORDER BY clause:

select supplier_id, supplier_name
from suppliers
where supplier_id &amp;gt; 2000
MINUS
select company_id, company_name
from companies
where company_id 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HD3V8QdBpiTTGBVmZivUFJjFR8s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HD3V8QdBpiTTGBVmZivUFJjFR8s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HD3V8QdBpiTTGBVmZivUFJjFR8s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HD3V8QdBpiTTGBVmZivUFJjFR8s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/0bBKwlDENg4" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/09/minus.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYBSHc-eip7ImA9WhZTE0g.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-2869981185355421812</id><published>2011-03-17T17:19:00.000+07:00</published><updated>2011-03-17T17:19:19.952+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-17T17:19:19.952+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="oracle" /><title>set REQUIRED ให้กับ item</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/2869981185355421812/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/03/set-required-item.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/2869981185355421812?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/2869981185355421812?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/3jUhu8L_ONE/set-required-item.html" title="set REQUIRED ให้กับ item" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">1. ต้องสร้าง parameter ขึ้นมาเพื่อรองรับ PROMPT_TEXT

2. WHEN-NEW-FORM-INSTANCE ให้เพิ่ม
       :PARAMETER.ATV_EDATE := GET_ITEM_PROPERTY('MA_REPAIR.ATV_EDATE',PROMPT_TEXT);
   :PARAMETER.ATV_ETIME := GET_ITEM_PROPERTY('MA_REPAIR.ATV_ETIME',PROMPT_TEXT);

3.  ไว้ที่ WHEN-RADIO-CHANGED
   IF :ma_repair.repair_status = '4' OR :ma_repair.repair_status = '5' then
   SET_ITEM_PROPERTY('
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZjY3ZMbwh_znK4oSUPMLbRbID4w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZjY3ZMbwh_znK4oSUPMLbRbID4w/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZjY3ZMbwh_znK4oSUPMLbRbID4w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZjY3ZMbwh_znK4oSUPMLbRbID4w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/3jUhu8L_ONE" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/03/set-required-item.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUAQXg7eSp7ImA9WhZTEks.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-3356510912597440120</id><published>2011-03-16T15:30:00.000+07:00</published><updated>2011-03-16T15:30:40.601+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-16T15:30:40.601+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="FRM" /><category scheme="http://www.blogger.com/atom/ns#" term="error" /><title>FRM-40352: Last record of query retrieved.</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/3356510912597440120/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/03/frm-40352-last-record-of-query.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/3356510912597440120?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/3356510912597440120?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/d9u828rbKys/frm-40352-last-record-of-query.html" title="FRM-40352: Last record of query retrieved." /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">IF :system.last_record = 'FALSE' THEN
 Next_Record; 
END IF;

FRM-40352 เกิดจาก next record ไปที่ last-record ไปต่อไม่ได้ดังนั้นจึงเกิด message แจ้ง วิธีที่ง่ายๆ คือ check ก่อนว่าเป็น
record สุดท้ายยังถ้าไม่ใช่ถึงจะ next ได้ ถ้าใช่ก็จะไม่ทำอะไร
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/s6n0-MVzvqrEpWUau6c_OuDb42k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/s6n0-MVzvqrEpWUau6c_OuDb42k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/s6n0-MVzvqrEpWUau6c_OuDb42k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/s6n0-MVzvqrEpWUau6c_OuDb42k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/d9u828rbKys" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/03/frm-40352-last-record-of-query.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4BRnY8cSp7ImA9Wx9aEk8.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-2442993237639140953</id><published>2011-03-04T13:42:00.000+07:00</published><updated>2011-03-04T13:42:37.879+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-04T13:42:37.879+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="error" /><category scheme="http://www.blogger.com/atom/ns#" term="oracle" /><title>FRM-40106 :no navigable items in destination block</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/2442993237639140953/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/03/frm-40106-no-navigable-items-in.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/2442993237639140953?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/2442993237639140953?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/e1EdOMeno4s/frm-40106-no-navigable-items-in.html" title="FRM-40106 :no navigable items in destination block" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">ต้อง set ทุก fields ใน block --&amp;gt;property --&amp;gt;keybord navigable--&amp;gt;YES
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hdNbMvl50Ov6AlAEieKakzT0dAk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hdNbMvl50Ov6AlAEieKakzT0dAk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hdNbMvl50Ov6AlAEieKakzT0dAk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hdNbMvl50Ov6AlAEieKakzT0dAk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/e1EdOMeno4s" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/03/frm-40106-no-navigable-items-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEERH4_fCp7ImA9Wx9aEU8.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-1205800077543181618</id><published>2011-03-03T10:40:00.000+07:00</published><updated>2011-03-03T10:40:05.044+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-03T10:40:05.044+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ERWin" /><title>วิธี เพิ่ม table จาก ER1 ไปอีก ER2</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/1205800077543181618/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/03/table-er1-er2.html#comment-form" title="1 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/1205800077543181618?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/1205800077543181618?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/bKhI7zw9ouM/table-er1-er2.html" title="วิธี เพิ่ม table จาก ER1 ไปอีก ER2" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh3.googleusercontent.com/-p9Ev7gUvZm4/TW8NFQdeWYI/AAAAAAAAE3w/pfAZxxGCyYQ/s72-c/1.png" height="72" width="72" /><thr:total>1</thr:total><content type="html">



&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aee3RQhLVXT6ae3TuCJPo1H-Dos/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aee3RQhLVXT6ae3TuCJPo1H-Dos/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aee3RQhLVXT6ae3TuCJPo1H-Dos/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aee3RQhLVXT6ae3TuCJPo1H-Dos/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/bKhI7zw9ouM" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/03/table-er1-er2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQMQns8eip7ImA9Wx9bFk0.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-3239491350055226920</id><published>2011-02-25T10:09:00.000+07:00</published><updated>2011-02-25T10:09:43.572+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-25T10:09:43.572+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="Auto_Increment" /><category scheme="http://www.blogger.com/atom/ns#" term="oracle" /><title>How to Create Auto Increment Columns in Oracle</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/3239491350055226920/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/02/how-to-create-auto-increment-columns-in.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/3239491350055226920?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/3239491350055226920?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/UnUC99K7y_o/how-to-create-auto-increment-columns-in.html" title="How to Create Auto Increment Columns in Oracle" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">After pointing out how not to create auto increment columns in Oracle, I suppose I should point out how to create auto increment columns in oracle.
Many will gripe about this not being a standard feature in Oracle, but when it’s as easy as two more commands after your CREATE TABLE command I can’t see any good reason to use fancy SQL on every insert.
First let’s create a simple table to play with.
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/66O8QSKNDJ9-4F3a5slBgLIDZR0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/66O8QSKNDJ9-4F3a5slBgLIDZR0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/66O8QSKNDJ9-4F3a5slBgLIDZR0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/66O8QSKNDJ9-4F3a5slBgLIDZR0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/UnUC99K7y_o" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/02/how-to-create-auto-increment-columns-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkQNRHo8fCp7ImA9Wx9UFkg.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-7094985214121052855</id><published>2011-02-14T11:39:00.002+07:00</published><updated>2011-02-14T11:39:55.474+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-14T11:39:55.474+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="oracle" /><title>ตรวจทุก record ว่าเป็นไปตามเงื่อนไขไหม</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/7094985214121052855/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/02/record.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/7094985214121052855?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/7094985214121052855?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/PJGoqi_k218/record.html" title="ตรวจทุก record ว่าเป็นไปตามเงื่อนไขไหม" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">BEGIN
    GO_BLOCK('BG_USAGE_PAYNAME');
    FIRST_RECORD;
FOR i IN 0..NVL(:bg_usage_payname.nb_cnt_rec,0) LOOP
--message(:bg_usage_payname.nb_cnt_rec);pause;
        IF     :BG_USAGE_PAYNAME.PAY_TYPE_CODE IS NOT NULL AND :BG_USAGE_PAYNAME.PAY_TYPE_CODE != STBG.GET_PARAMETER('PAY_TYPE_PAC','BG')  THEN
                UTIL.SHOW_MESSAGE('STOP','BG','B0148',STFN.PAYMENT_TYPE_NAME(STBG.GET_PARAMETER('
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FZoJ10HqxrS2l09VbY9S4al8Jzc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FZoJ10HqxrS2l09VbY9S4al8Jzc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FZoJ10HqxrS2l09VbY9S4al8Jzc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FZoJ10HqxrS2l09VbY9S4al8Jzc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/PJGoqi_k218" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/02/record.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEAHRH4_eSp7ImA9Wx9UFE0.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-50723598643961419</id><published>2011-02-11T13:45:00.000+07:00</published><updated>2011-02-11T13:45:35.041+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-11T13:45:35.041+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="alter" /><category scheme="http://www.blogger.com/atom/ns#" term="TOAD" /><title>add field เพิ่มใน base วิธี (alter)</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/50723598643961419/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/02/add-field-base-alter.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/50723598643961419?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/50723598643961419?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/CFdrAX_6s5U/add-field-base-alter.html" title="add field เพิ่มใน base วิธี (alter)" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_RPTTEgyUY4A/TVTZouTjMzI/AAAAAAAAE3I/KyhIE-_NBUQ/s72-c/11-2-2554%2B13-21-01.png" height="72" width="72" /><thr:total>0</thr:total><content type="html">



&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mjhjZmTEX7yD5N0gE_sYOq1mrJg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mjhjZmTEX7yD5N0gE_sYOq1mrJg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mjhjZmTEX7yD5N0gE_sYOq1mrJg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mjhjZmTEX7yD5N0gE_sYOq1mrJg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/CFdrAX_6s5U" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/02/add-field-base-alter.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8HRX0-eyp7ImA9WhdUEks.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-1576352930992828840</id><published>2011-02-07T16:56:00.000+07:00</published><updated>2011-09-29T10:27:14.353+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-29T10:27:14.353+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="เพลง" /><title>ข้ามฟ้ามาร้องไห้ - เจี๊ยบ วรรธนา</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/1576352930992828840/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/02/blog-post.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/1576352930992828840?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/1576352930992828840?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/iMFHMrHhTyY/blog-post.html" title="ข้ามฟ้ามาร้องไห้ - เจี๊ยบ วรรธนา" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/_XV1MlI5qlQ/default.jpg" height="72" width="72" /><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Iq0GNutQSIOQNRTbdeXw1_WXzpw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Iq0GNutQSIOQNRTbdeXw1_WXzpw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Iq0GNutQSIOQNRTbdeXw1_WXzpw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Iq0GNutQSIOQNRTbdeXw1_WXzpw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/iMFHMrHhTyY" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/02/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMHRXs-cCp7ImA9WhdVFko.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-5681185266122118146</id><published>2011-01-28T14:49:00.001+07:00</published><updated>2011-09-22T15:00:34.558+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-22T15:00:34.558+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="oracle" /><title>Set_LOV_Property ต้องการเปลี่ยนดึงข้อมูลเมื่อมีค่า เปลี่ยน</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/5681185266122118146/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/01/setlovproperty.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/5681185266122118146?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/5681185266122118146?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/cmePcA6GJBY/setlovproperty.html" title="Set_LOV_Property ต้องการเปลี่ยนดึงข้อมูลเมื่อมีค่า เปลี่ยน" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">BEGIN
DECLARE lov_id LOV; 
 BEGIN lov_id := Find_LOV('M_PAY_TYPE_CODE_LOV'); 
  IF NVL(:BG_USAGE_MASTER.INTERNAL_CHARGE_YN,'N') = 'Y' THEN 
   Set_LOV_Property(lov_id,GROUP_NAME,'PAY_TYPE_CODE2_REC'); 
  ELSE
   Set_LOV_Property(lov_id,GROUP_NAME,'PAY_TYPE_CODE_REC'); 
  END IF;
 END; 
END;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YVVq9nkQSXQUQQWqM6ssHycozsc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YVVq9nkQSXQUQQWqM6ssHycozsc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YVVq9nkQSXQUQQWqM6ssHycozsc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YVVq9nkQSXQUQQWqM6ssHycozsc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/cmePcA6GJBY" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/01/setlovproperty.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8FQXc8fyp7ImA9Wx9VEEw.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-1408648249961484148</id><published>2011-01-26T11:40:00.001+07:00</published><updated>2011-01-26T11:40:10.977+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-26T11:40:10.977+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="oracle" /><title>set_block_property  &amp;DEFAULT_WHERE</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/1408648249961484148/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/01/setblockproperty.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/1408648249961484148?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/1408648249961484148?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/3xIEymUURNI/setblockproperty.html" title="set_block_property  &amp;DEFAULT_WHERE" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">SET_BLOCK_PROPERTY('IN_TRAN_HEAD', DEFAULT_WHERE,'OU_CODE = :PARAMETER.OU_CODE AND DOC_NO = ''SPO01'' AND DOC_NO =' ||CHR(39)||:parameter.p_spo_no||CHR(39));
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5_waIC-aUtZjtVB14GSWeitP_MQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5_waIC-aUtZjtVB14GSWeitP_MQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5_waIC-aUtZjtVB14GSWeitP_MQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5_waIC-aUtZjtVB14GSWeitP_MQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/3xIEymUURNI" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/01/setblockproperty.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IEQ3kzeyp7ImA9Wx9VEEw.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-6775379767046632108</id><published>2011-01-25T17:40:00.003+07:00</published><updated>2011-01-26T11:18:22.783+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-26T11:18:22.783+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="oracle" /><title>start with &amp; connect by</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/6775379767046632108/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/01/start-with-connect-by.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/6775379767046632108?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/6775379767046632108?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/Jb9x-w1Kx_k/start-with-connect-by.html" title="start with &amp; connect by" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">select level div_level, ou_code, div_code, div_code || ' ' || div_name div_name
from su_division
where ou_code =:parameter.ou_code
start with div_parent is null
connect by prior div_code = div_parent
and prior ou_code   =:parameter.ou_code
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lXUyCKpDZbLD3HBIX2PbgW-Mn4M/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lXUyCKpDZbLD3HBIX2PbgW-Mn4M/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lXUyCKpDZbLD3HBIX2PbgW-Mn4M/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lXUyCKpDZbLD3HBIX2PbgW-Mn4M/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/Jb9x-w1Kx_k" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/01/start-with-connect-by.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8AQ3w8fyp7ImA9Wx9WFEQ.&quot;"><id>tag:blogger.com,1999:blog-3200424890222897478.post-1566905375760881282</id><published>2011-01-20T10:40:00.000+07:00</published><updated>2011-01-20T10:40:42.277+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-20T10:40:42.277+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ความรู้ทั่วไป" /><title>แก้ mail icon ใน control panel หาย</title><link rel="replies" type="application/atom+xml" href="http://wundee.blogspot.com/feeds/1566905375760881282/comments/default" title="ส่งความคิดเห็น" /><link rel="replies" type="text/html" href="http://wundee.blogspot.com/2011/01/mail-icon-control-panel.html#comment-form" title="0 ความคิดเห็น" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/1566905375760881282?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3200424890222897478/posts/default/1566905375760881282?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/wundeeO_o/~3/rlxy43H_vh4/mail-icon-control-panel.html" title="แก้ mail icon ใน control panel หาย" /><author><name>=*~nooh'D~*=</name><uri>http://www.blogger.com/profile/09460146571674196756</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://4.bp.blogspot.com/_RPTTEgyUY4A/S7BCLroPa2I/AAAAAAAAEpM/r2s5XF2bhEM/S220/noohD.jpg" /></author><thr:total>0</thr:total><content type="html">เปิด control panel แล้ว พิมพ์ คำว่า maill ลงในช่อง address ด้านบน

ง่ายป่าวๆ
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Rmnt3iPjEnuaJyDACJLgijQUp1c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Rmnt3iPjEnuaJyDACJLgijQUp1c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Rmnt3iPjEnuaJyDACJLgijQUp1c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Rmnt3iPjEnuaJyDACJLgijQUp1c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/wundeeO_o/~4/rlxy43H_vh4" height="1" width="1"/&gt;</content><feedburner:origLink>http://wundee.blogspot.com/2011/01/mail-icon-control-panel.html</feedburner:origLink></entry></feed>

