- 浏览: 149989 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (130)
- PL/SQL (18)
- JSTL (2)
- Linux (5)
- 反射 (1)
- 路径 (6)
- za (5)
- 数组 (1)
- 无聊代码 (2)
- GC (1)
- 源代码学习 (1)
- ThreadLocal (3)
- 多线程 (5)
- 锁 (2)
- 服务器 (2)
- exception (3)
- struts (2)
- spring (7)
- hibernate (3)
- oracle (8)
- JS (4)
- jsp/servlet基础 (1)
- 菜 (1)
- JVM (2)
- PC (1)
- 设计模式 (2)
- uml (1)
- Bean (2)
- IO (3)
- eclipse (0)
- Collection (14)
- 内部类 (1)
- 正则 (4)
- 编码?? (1)
- 加密 (2)
- Date (3)
- 佛 (3)
- XML (1)
- JFreeChart (1)
- itext (0)
- JDBC (1)
- word (1)
最新评论
-
qq_27688163:
public static void printIsta ...
基础多态 -
qq_27688163:
最后运行的结果应该是:i=3lalai=3lalaBB13
基础多态 -
mercyblitz:
Thread 没有生命周期时间,对于这种资源(需要关闭的),T ...
ThreadLocal3
create or replace procedure EIS_VALIDATE_DB_DATA(out_success out varchar2, out_err_msg out varchar2) is G_NEW_LINE VARCHAR2(5) := CHR(13); G_NUM_AM number := 1; G_NUM_SM number := 1; G_ID_SM number := 5; G_ID_AM number := 4; G_ID_PM number := 3; v_num_check_1 number default 0; v_num_check_2 number default 0; v_num_check_3 number default 0; begin out_success := '1'; -----------------------everyone in EIS should has projects at leaest!!! very important----------------- select count(1) into v_num_check_1 from eis_users eu WHERE not exists (select 'X' from EIS_USER_PROJECTS EUP WHERE EUP.EMP_ID = EU.ID); if v_num_check_1 <> 0 then out_err_msg := out_err_msg || ' - Some resource in EIS never in any project' || G_NEW_LINE; end if; ---------------------------------AM SM can only join project id :0---------------------------------------- select count(1) into v_num_check_1 from eis_users eu, eis_user_projects eup where eu.id = eup.id and eu.roles_id in (G_ID_SM, G_ID_AM) and eup.project_id <> 0; if v_num_check_1 <> 0 then out_err_msg := out_err_msg || ' - Some AM or SM join NON-Dummy Projects' || G_NEW_LINE; end if; -----------------------There shoud be only 1 pending approve join/relese request for each one---------------- select count(1) into v_num_check_1 from (select 1 from eis_project_requests epr where epr.request_status_id = 2 group by epr.requestor_emp_id having count(1) > 1); if v_num_check_1 <> 0 then out_err_msg := out_err_msg || ' - Some resource have more than one 1 pending approve join/relese request' || G_NEW_LINE; end if; -------------------------other check!!-------------------------------------------------------- -----end all validation----------------------------------- if out_err_msg is not null then out_success := 2; end if; EXCEPTION WHEN OTHERS THEN out_err_msg := out_err_msg || G_NEW_LINE || G_NEW_LINE || SQLERRM || ': Procedure Unknown error '; out_success := '0'; end EIS_VALIDATE_DB_DATA;
发表评论
-
update1
2010-08-19 09:41 832UPDATE COST_EVENT CE SET (C ... -
增加不存在的数据
2010-08-18 00:21 806select siteID, siteN ... -
无聊的经典SQL
2010-07-28 15:27 8722007年07月27日 星期五 上 ... -
DB2用一张表更新其他表的数据
2010-07-28 15:12 4213表结构: CREATE TABLE ATEST (ID ... -
oracle merge
2010-07-19 22:37 770create table PRODUCTS ( ... -
put_line_unlimit mail.pkg --attachment
2010-07-18 15:08 767create or replace procedure put ... -
动态交叉表
2010-07-15 16:04 815PROCEDURE cross_table_test(DAT ... -
SQL1
2010-06-23 16:22 678select * from (select e.id, ... -
oracle临时表
2010-06-23 16:10 660drop table Student create gl ... -
at 测试使用attachment
2010-06-19 11:06 631测试使用 attachment -
oracle 连接 join at
2010-06-16 21:24 1396--1 等值连接 SELECT * FROM EMP e, ... -
level 100?
2010-02-26 18:49 841SELECT MQ.DT_COL, SUM ... -
消失的日期
2010-02-26 16:06 8771582年前使用的是凯撒时期制定的儒略历,4年一闰。1582年 ... -
date function
2010-02-26 14:48 666--Trunc ,Round return date - ... -
不存在的数据
2010-02-25 17:28 697表A id name time 1 aa 2 ... -
无聊SQL1
2010-01-12 13:09 703select (select min(event.event_ ... -
分割字符
2009-12-29 17:04 740CREATE OR REPLACE TYPE mytable ...
相关推荐
DATA SEGMENT GRADE DB 76,69,84,90,73,88,99,63,100,80 MES1 DB '60-69:$' MES2 DB '70-79:$' MES3 DB '80-89:$' MES4 DB '90-99:$' MES5 DB '100:$' C1 DB 0 C2 DB 0 C3 DB 0 C4 DB 0 C5 DB 0 CNT EQU 10 DATA ...
XML DB ORACLE Oracle XML DB adds high-performance native storage and retrieval of XML content to the capabilities of Oracle Database 10g release 2. The Oracle XML DB Repository makes it possible to ...
Spark: Big Data Cluster Computing in Production English | 2016 | ISBN: 1119254019 | 216 pages | PDF | 5 MB Production-targeted Spark guidance with real-world use cases Spark: Big Data Cluster ...
Understand how to encrypt data in transit and at rest Who This Book Is For The IBM Db2 11.1 Certification Guide is an excellent choice for database administrators, architects, and application ...
在db2各个平台和各个版本系列数据库之间移动数据的办法。
This edition applies to Version 7 of IBM DATABASE 2 Universal ...www.ibm.com/software/data/db2/os390/library.html). Check these resources to ensure that you are using the most current information.
In this IBM Redbook we describe how an Operational Data Store (ODS) can be used to address all of these business issues. We describe how an ODS fits within the business intelligence architecture, and ...
data segment block db 0,1,0,1,1,1,0,1,1,1 man db ? woman db ? count equ 0ah data ends code segment assume cs:code,ds:data org 1000h start: mov ax,data mov ds,ax mov cx,count mov si,0 mov man,0 ...
Unload data into CSV file(a delimited file) under DB2 ZOS, 2 sample in real test JCLs
DB2® 9 for z/OS® is an exciting new version, with many improvements in performance and little regression. DB2 V9 improves availability and security, as well as adds greatly to SQL and XML functions....
Aqua Data Studio displays data in a structured manner, enabling you to create new tables or easily modify existing ones. You can change or create indexes, users, permissions and procedures, as well ...
DB2 UDB for z/OS and OS/390 Database Administration Workshop Setting up a DB2 Database Referential Integrity Getting Data into and out...Keeping Your DB2 Data in Good Shape Program Preparation / Bind
Nowadays, 75-95% of the time it takes to process a data request is typically spent in the database middleware. Today’s worst performance and scalability problems are generally caused by issues with ...
The map is composed of one or more ranges and each range is backed by data stored in RocksDB (a variant of leveldb), and is replicated to a total of three or more cockroach servers. Ranges are ...
In this chapter IBM® Data Studio software is used extensively, therefore this eBook is also closely related to eBook Getting Started with IBM Data Studio for DB2. Starting with Chapter 4 the book ...
and robustness <br>Using multidimensional data clustering and other integrated business intelligence tools <br>Integrating with IBM WebSphere and Microsoft software development tools <br>...
Examples include SQL and Excel code, and the appendix shows how non-standard constructs are implemented in other major databases, including Oracle and IBM DB2/UDB. The companion website includes ...
Examples include SQL and Excel code, and the appendix shows how non–standard constructs are implemented in other major databases, including Oracle and IBM DB2/UDB. The companion website includes ...
outliers is a very important concept in Knowledge data discovery. Outlier detection has been studied in the context of a large number of research areas like large distributed systems, data mining, ...