Time of Update: 2015-06-07
標籤:FROM: http://zhangqchang.blog.163.com/blog/static/464989732009219114653226/摘至網上的幾個例子一、*****************************************************************Merger
Time of Update: 2015-06-06
標籤:Microsoft Windows [版本 6.1.7601]著作權 (c) 2009 Microsoft Corporation。著作權所有,並保留一切權利。C:\Users\Administrator>C:\Users\Administrator>sqlplus / as sysdba;SQL*Plus: Release 11.2.0.1.0 Production on 星期三 10月 29 09:50:55 2014Copyright (c) 1982, 2010,
Time of Update: 2015-06-07
標籤:Oracle資料庫的建立啟動和關閉目的:(1) 掌握Oracle 11g資料庫的建立與刪除。(2) 掌握Oracle 資料庫執行個體的啟動和關閉。 內容:一、建立資料庫1.規劃資料庫2.使用Oracle 資料庫配置助手建立資料庫3.使用SQL*Plus 指令碼建立資料庫二、刪除資料庫三、Oracle 資料庫執行個體的啟動和關閉1.資料庫啟動的步驟2.在SQL*Plus 中啟動與關閉資料庫 &
Time of Update: 2015-06-05
標籤:[sql] view
Time of Update: 2015-06-05
標籤:資料庫 格式化 儲存 問題描述 oracle如果儲存number(20,2)資料,0資料庫中為0.00,2.1資料庫中為2.10,3.88儲存為3.88, 如果直接從資料庫中取出對應顯示為: 0 2.1 3.88 保留兩位小數會發生變化,如果需要和資料庫保持一致: 解決方案 保留兩位有效小數的方法:SELECT TO_CHAR(3.2,‘FM99999999999990D00‘)
Time of Update: 2015-06-05
標籤:一、Oracle分析函數入門分析函數是什嗎?分析函數是Oracle專門用於解決複雜報表統計需求的功能強大的函數,它可以在資料中進行分組然後計算基於組的某種統計值,並且每一組的每一行都可以返回一個統計值。 分析函數和彙總函式的不同之處是什嗎?普通的彙總函式用group by分組,每個分組返回一個統計值,而分析函數採用partition
Time of Update: 2015-06-06
標籤: 在Oracle中,having一定要結合group by使用,但在mysql中,情況就不一樣了。能夠單獨使用。C:\Documents and Settings\guogang>sqlplus test/testSQL*Plus: Release 10.2.0.1.0 - Production on 星期二 8月 12 09:09:58 2014Copyright (c) 1982, 2005, Oracle. All rights
Time of Update: 2015-06-06
標籤:oracle資料庫教程 oracle教程 oracle視頻教程 websphere培訓 websphere配置 生產應用Win平台Oracle+WebSphere項目實施_WebSphere視頻培訓教程基礎部分:Oracle基本概念與體繫結構WebSphere相關概念,概要檔案,資料來源,串連池,控制台。
Time of Update: 2015-06-05
標籤:1.將如下代碼複製到文本中,最後將文本尾碼名稱修改成XXX.bat 批次檔;*********************************************************************************************************************************@echo offsetlocal ENABLEDELAYEDEXPANSION::讀取設定檔md %windir%\OracleAutoBackup >
Time of Update: 2015-06-06
標籤:linux weblogic oracle rac 11gr2 linux培訓 weblogic叢集 Oracle RAC 11gR2+WebLogic叢集6節點項目安裝實施維護視頻課程套餐套餐介紹:高薪必學的企業級核心應用Oracle+WebLogic叢集教程。 基礎:介紹Oracle RAC
Time of Update: 2015-06-04
標籤:SQL> create table test(id number,name varchar2(10),gender varchar2(5));表已建立。SQL> insert into test values(1,‘宋春風‘,‘男‘);已建立 1 行。SQL> insert into test values(2,‘
Time of Update: 2015-06-06
標籤:oracle教程 oracle資料庫教程 oracle11g安裝圖解 oracle資料庫建立 oracle資料庫 650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/6E/14/wKiom1VyyWCRfjEKAAGteXGzWtU074.jpg"
Time of Update: 2015-06-04
標籤:預存程序在小公司用的不多,但是如果業務比較複雜或者效能要求比較苛刻的時候預存程序就派上用場了,ibatis的前期的一些版本貌似不支援預存程序因此我選擇了mybatis來做實驗。1.無輸入和輸出參數的預存程序,我寫了一個比較簡單的,需要注意的是Oracle無參預存程序不能寫括弧CREATE OR REPLACE Procedure cascadeoperation As Begin Delete From teacher Where id=1; Update
Time of Update: 2015-06-04
標籤:oracle備份 #!/bin/shexport ORACLE_BASE=/app/oracle/export ORACLE_HOME=/app/oracle/productexport PATH=$ORACLE_HOME/bin:$HOME/bin:$PATHexport ORACLE_OWNER=oracleexport ORACLE_SID=orcl#Database Backup存放目錄#BACKUP_DIR=/home/
Time of Update: 2015-06-03
標籤:本方法為使用SEQUENCE(序列) 例如有表temp_test結構為:create table TEMP_TEST ( id number, nm varchar(10), primary key(id) //id為主鍵,下面的方法把它設為自增欄位) 1、建立自增序列TEMP_TEST_IDADD,命名任意,從1開始,每次加1CREATE SEQUENCE TEMP_TEST_IDADD INCREMENT BY 1 START
Time of Update: 2015-06-04
標籤:oracle最大串連數 1. 查看processes和sessions參數 SQL> show parameter processes NAME TYPE VALUE db_writer_processes integer 1 gcs_server_processes integer 0 job_queue_processes integer 10 log_archive_max_processes
Time of Update: 2015-06-05
標籤:下面介紹的是匯入匯出的執行個體。資料匯出:1 將資料庫TEST完全匯出,使用者名稱system 密碼manager 匯出到D:\daochu.dmp中 exp system/[email protected] file=d:\daochu.dmp full=y2 將資料庫中system使用者與sys使用者的表匯出
Time of Update: 2015-06-03
標籤:#receive the fileflume-ng agent --conf conf --conf-file conf1.conf --name a1flume-ng agent --conf conf --conf-file conf2.conf --name hdfs-agentflume-ng agent --conf conf --conf-file conf3.conf --name file-agent Conf1.confa1.sources =
Time of Update: 2015-06-03
標籤:看到where語句中有條件:where 1=1 和 1=2或1<>1用途: 1=1:是為了添加條件時使用and並列其他條件時使用的(動態串連後續條件) 比如: String sql = "select * from emp where 1=1 ";
Time of Update: 2015-06-03
標籤:一、oracle資料字典主要由以下幾種視圖構成:1.user視圖以user_為首碼,用來記錄使用者物件的資訊2.all視圖以all_為首碼,用來記錄使用者物件的資訊及被授權訪問的對象資訊3.dba視圖以dba_為首碼,用來記錄資料庫執行個體的所有對象的資訊4.v$視圖以v$為首碼,用來記錄與資料庫活動相關的效能統計動態資訊5.gv$視圖以gv$為首碼,用來記錄分布式環境下所有執行個體的動態資訊二、oracle常用的資料字典1.基本資料字典字典名稱