今天進使用orcle中,發現系統中,system賬戶(或其他賬戶)登入裡提示賬戶被鎖定 ,後來查了查資料,問題解決,方法如下: cmdC:\Documents and Settings\Administrator>sqlplus /nologSQL*Plus: Release 10.2.0.3.0 - Production on 星期三 5月 11 09:04:34 2011Copyright (c) 1982, 2006, Oracle. All Rights
Oracle DB Link建立方法 已知:資料庫1:TEST1;資料庫2:TEST2 要求:在資料庫1上建立到資料庫2的DB Link方案一: 1、在資料庫1所在電腦,建立到資料庫2的服務名:orl_test22、在資料庫1或者其他能裝有ORACLE用戶端的電腦上建立資料庫1到資料庫2的DB Link,方法如下: * 登入SQL*PLUS ,輸入:create database link link_name connect to user identified by pass
1.OracleOracleCommand com = new OracleCommand(@"select * from ibs_user where username=:uname and userpwd=:upwd", conn); com.Parameters.Add(":uname", OracleType.VarChar).Value = userName.Text.Trim(); com.Parameters.Add(":upwd",
Oracle中如何顯示當前的所有使用者表顯示某使用者所有表(例如SCOTT,必須大寫)select TABLE_NAME from all_tables where owner = 'SCOTT';顯示當前的所有使用者表select * from user_tables顯示當前資料庫的所有表select * from tab;顯示某個表中所有的列的資訊select * from user_tab_columns where table_name in
create user TEST identified by "TEST" --建立TEST使用者 default tablespace USERS temporary tablespace TEMP profile DEFAULT; grant connect,create view ,resource to TEST;grant unlimited tablespace to TEST; --管理員授權 grant create session to
Oracle中scott使用者下建立預存程序:(註:從9i開始有了sys_refcursor這種類型,在以前的Oracle版本中需要使用REF CURSOR,並且還需放在一個程式包中)create or replace procedure sp_getdept(result out sys_refcursor)asbeginopen result for select * from dept;end;/ =============================================
5 樓bjshasha(傻傻)回複於 2003-04-28 17:54:05 得分 0 我搞定了 like this: select * from (select rownum as m,a.* from scc_user a) where m between 3 and 8 Top6 樓dawnzdy(dawn)回複於 2003-04-29 09:37:40 得分 0