`
ticojj
  • 浏览: 152219 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表

sqlplus心得

sqlplus $1/$2 @/tmp/EDOMASK/CDSTCK/MAPRG/drop_maprg_cd_s14_ins2014bk.sql 一,登陆方式: 1. C: >sqlplus username/password  如:普通用户登录  sqlplus scott/tiger C: >sqlplus username/password@net_service_name 如: sqlplus scott/tiger@orcl C: >sqlplus  username/password as sysdba 如:sqlplus sys/admin as sysdba ...
1. DDL(Data Definition Language) 数据库定义语言statements are used to define the database structure or schema。用于定义数据库的三级结构,包括外模式、概念模式、内模式及其相互之间的映像,定义数据的完整性、安全控制等约束。DDL不需要commit。 DDL的操作包含: CREATE ALTER DROP TRUNCATE COMMENT RENAME 2.DML(Data Manipulation Language) 数据操纵语言statements are used for managing da ...
【通过继承Thread】   一个Thread对象只能创建一个线程,即使它调用多次的.start()也会只运行一个的线程。   【看下面的代码 & 输出结果】 1 package Test; 2 3 class CTest extends Thread { 4     private int tickte = 20; 5 6     p ...
EXEC pkg_dwh_common_proc.stpr_dwh_drop_tbl('tbl_maprg_pp_vst_usr_maint_u', 'N'); CREATE TABLE tbl_maprg_pp_vst_usr_maint_u ( month                number(6,0) unique NOT NULL, --整数 txn_amt              number NOT NULL, guest_vst_amt_usd    number NOT NULL, guest_vst_amt_cny    number NOT NULL, ...
EXEC pkg_dwh_common_proc.stpr_dwh_drop_tbl('tbl_maprg_pp_usr_main_tmp', 'N'); create table  tbl_maprg_pp_usr_main_tmp  tablespace &5 as select * from tbl_maprg_pp_vst_usr_maint_u where 1=2 ; variable month_cnt   number; BEGIN   select count(*) INTO :month_cnt   from tbl_maprg_pp_vst_usr_ma ...
CREATE INDEX idx_maprg_pp_pnlty_u_4     ON tbl_maprg_pp_pnlty_u(cup_crd_no) local( partition idx_maprg_pp_pnlty_u_4_201208 ,partition idx_maprg_pp_pnlty_u_4_201404 ,partition idx_maprg_pp_pnlty_u_4_201405 ) PCTFREE 0 TABLESPACE  tbs_mapg_jd_crm NOLOGGING ; the indexes  type in two tables shou ...

VBA MASKING

-----all are masking Function HUBNO(v1) Dim Lcntr      As Long Dim temp_char1    As Long Dim temp_char2    As String If v1 = "" Then HUBNO = "" Else For Lcntr = 1 To Len(v1) temp_char1 = Mid(v1, Lcntr, 1) temp_char2 = Chr(Asc(temp_char1) + 10)   HUBNO = HUBNO & te ...

case of PP

Case Scenario Example) Current Month End Version/Batch Date: 31 August 2014 Batch Case ID RMB Card Status PP Card Status PP Card Expiry Date Check for Penalty? PP Validity Period (for spending calculation) PP Card Spending Criteria Met? PP Visit Existed? PP Penalty To Be Charged on Sep Report? PP ...
http://www.cnblogs.com/mchina/archive/2012/09/07/2651568.html Oracle笔记(六) 多表查询 本次预计讲解的知识点 1、 多表查询的操作、限制、笛卡尔积的问题; 2、 统计函数及分组统计的操作; 3、 子查询的操作,并且结合限定查询、数据排序、多表查询、统计查询一起完成各个复杂查询的操作; 一、多表查询的基本概念 在之前所使用的查询操作之中,都是从一张表之中查询出所需要的内容,那么如果现在一个查询语句需要显示多张表的数据,则就必须应用到多表查询的操作,而多表查询的语法如下: SELECT [DISTINCT] * ...
having子句与where有相似之处但也有区别,都是设定条件的语句。在查询过程中聚合语句(sum,min,max,avg,count)要比having子句优先执行.而where子句在查询过程中执行优先级别优先于聚合语句(sum,min,max,avg,count)。简单说来:where子句:select ...
Dear all,   Please find the following business case scenarios for user clarification.  Please revise/add cases as necessary.     Current Date: 31 August 2014 Batch   Case No.
#!/bin/sh # year=`date +%y` month=`date + %m` day=`date +%d` if [ $month -le 3 ] then     month= expr $month - 3 + 12     year= expr $year - 1 else     month= expr $month - 3 fi echo $year-$month-$day

prioroty pass

Version:0.9 StartHtml: 105 EndHtml: 17764 StartFragment: 334 EndFragment: 17732 <!--BeginFragment--> In order to enhance the competitiveness of RMB Diamond Commercial Card as a high-end card product type and stimulate cardusage, the membership of Priority Pass (鈥淧P Card鈥�) will be granted t ...
Value of PP Card Flag Description NIL (CD: Default value)
PHP - 函数:substr() 若 start 为负数,则从字符串尾端算起。若可省略的参数 length 存在,但为负数,则表示取到倒数第 length 个字符。使用范例 <?echo substr("abcdef", 1, 3);... www.t086.com/code/php/... 2008-06-24     - 百度快照 - 评价
Global site tag (gtag.js) - Google Analytics