This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // #define INCLUDE_WEB_FUNCTIONS | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Diagnostics; | |
| using System.Data; | |
| using System.Reflection; | |
| using DocumentFormat.OpenXml.Packaging; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --SID使用数据库的某个用户的当前会话ID | |
| --sid:session的id | |
| --serial#:sid的序列号,因为可能有些会话的sid相同,sid可以重复使用,以后使用已经使用过的sid时,serial#会递增 | |
| --附:用于确定锁住数据库对象的锁的SQL | |
| SELECT c.owner | |
| ,c.object_name | |
| ,c.object_type | |
| ,b.sid | |
| ,b.serial# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*================================== | |
| ORACLE DB SEND GET HTTP REQUEST | |
| ====================================*/ | |
| DECLARE | |
| l_req utl_http.req; | |
| l_resp utl_http.resp; | |
| l_url VARCHAR2(200); | |
| l_resp_txt VARCHAR2(30000); | |
| BEGIN | |
| l_url := 'http://127.0.0.1/IK2WorkflowService/Test/?id=102'; |