批量将表名变为大写begin for c in (select table_name tn from user_tables where table_name upper(table_name)) loop begin execute immediate 'alter table "'...
分类:
数据库 时间:
2014-11-25 18:15:34
阅读次数:
340
执行动态sql的语法为:
Excute immediate 动态SQL语句 using 绑定参数列表 returning into 输出参数列表
测试表:表:student(id,name,age);
例子:存储
create or replace procedure p_stu_info(s_id number) is
v_name varchar2(10);
v_ag...
分类:
数据库 时间:
2014-11-24 20:56:58
阅读次数:
230
Description
An encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. We will assume for this problem that all code...
分类:
其他好文 时间:
2014-11-24 10:13:54
阅读次数:
214
Moving Data: IA32 movx Source, Dest x is one of {b(1-byte), w(2-byte), l(4-byte)} Operand Types Immediate: Constant integer data Example: $0x400, $-53...
分类:
其他好文 时间:
2014-11-22 18:51:31
阅读次数:
201
An encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. We will assume for this problem that all codes are in binary, ...
分类:
其他好文 时间:
2014-11-21 21:56:09
阅读次数:
307
C:\Windows\System32>sqlplus sys/As123456 as sysdbaSQL> show parameter processes;SQL> shutdow immediate;数ORACLE 例程已经关闭。SQL> startup;ORACLE 例程已经启动。RCU-6...
分类:
数据库 时间:
2014-11-21 20:17:07
阅读次数:
281
1.使用SQL*PLUS停止数据库 如果不能通过sysdba登陆可以用nolog用户登陆后切换至sysdba [oracle@OracleTest oracle]$ sqlplus /nolog SQL> connect / as sysdba SQL> shutdown [immediate] S...
分类:
数据库 时间:
2014-11-21 14:05:54
阅读次数:
197
前言:需要把本地磁盘的所有数据文件,都移动到存储上去。步骤概要:1.shut immediate 停库2.host cp dbfile to new path3.修改参数中controlfile的位置,把数据库启动到mount4.rename相关文件5.alterdatabaseopen;本次具体实...
分类:
数据库 时间:
2014-11-17 17:38:39
阅读次数:
267
select userenv('language') from dual; SIMPLIFIED CHINESE_CHINA.AL32UTF8 sql> conn / as sysdba; sql> shutdown immediate; database dismounted. s...
分类:
数据库 时间:
2014-11-16 15:53:50
阅读次数:
174
题目地址:http://poj.org/problem?id=1056
Description
An encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. We w...
分类:
其他好文 时间:
2014-11-16 14:44:15
阅读次数:
128