Problem XHuge ModInput:standard
inputOutput:standard outputTime Limit:1 secondThe operator for exponentiation is
different from the addition, subtract...
分类:
其他好文 时间:
2014-05-01 09:03:35
阅读次数:
540
1. 文件查看数据文件、控制文件、日志文件查看如下:select file#, status,
enabled, name from V$datafile;--查看数据文件select * from v$controlfile;--控制文件select *
from v$logfile;--日志文件...
分类:
数据库 时间:
2014-05-01 04:49:13
阅读次数:
471
1、IN操作符用IN操作符写出来的SQL直观简单、易于理解。但是在where条件中使用IN操作符是低效的。例如下面这条查询语句:SELECT
* FROM tab_a WHERE id IN(SELECT a_id FROM tab_b);
你认为它会怎么执行呢?先从tab_a表中遍历数据,然后拿每...
分类:
数据库 时间:
2014-05-01 03:28:11
阅读次数:
756
需求:把oracle数据库中符合条件的N多表,导出成csv文本文件,并以表名.csv为文件名存放。
实现:通过存储过程中UTL_FILE函数来实现。导出的csv文件放入提前创建好的directory中。
使用方法:使用以下命令数据预执行的SQL脚本
SELECT 'EXEC sql_to_csv(''select * from ' ||T.TABLE_NAME ||
'''...
分类:
其他好文 时间:
2014-04-30 22:11:40
阅读次数:
332
I am honored to be with you today at your commencement from one of the finest universities in the world. I never graduated from college. Truth be told, this is the closest I've ever gotten to a colleg...
分类:
其他好文 时间:
2014-04-29 13:46:22
阅读次数:
337
往数据里插值,结果报这个错,经过百度查证和自己试验,如下:
查看用户表空间的限额
select * from user_ts_quotas;
alter user ***(用户名) quota unlimited on ***(表空间);
这种方式是针对特定的表空间的.
可以分配自然也可以回收了:
alter user *** quota 0 on *...
分类:
其他好文 时间:
2014-04-29 13:46:21
阅读次数:
354
Problem:
You are trying to setup a mirroring on a Database called xxxDB(SQL server 2012).
You are getting this error while trying to setup mirroring.
“Neither the partner nor the witness server ins...
分类:
数据库 时间:
2014-04-29 13:33:20
阅读次数:
444
在11g中,默认自动收集统计信息的时间为晚上10点(周一到周五,4个小时),早上6点(周六,周日,20个小时),如下所示:
select a.window_name, a.repeat_interval,a.duration
from dba_scheduler_windows a, dba_scheduler_wingroup_members b
where a.window_na...
分类:
数据库 时间:
2014-04-29 13:28:21
阅读次数:
469
XML From Action Script[AS中的XML学习笔记]...
分类:
其他好文 时间:
2014-04-29 13:21:22
阅读次数:
288
mysql> select * from a
;
+----+------+--------------+
| id | name | descri |
+----+------+--------------+
| 1 | a1 | 我是第一个a1 |
| 2 | a2 | 我是第一个a2 |
| 3 | a3 | 我是a3 |
| 4...
分类:
其他好文 时间:
2014-04-29 13:16:21
阅读次数:
228