数据库之间使用dmp文件进行数据移植给普通用户授权dba权限grant dba to user;移植成功后,收回revoke dba from user;建表的时候出现ora-01536 space quota exceeded for tablespace xxxx;重新授予dba权限,问题解决,...
分类:
其他好文 时间:
2014-06-18 21:07:41
阅读次数:
224
题意:给定一个整数序列 问 只允许相邻的两个数交换 至少需要交换多少次思路:归并排序#include __int64 count;int array[500001],temp[500001]; void merge(int array[],int p,int q,int r) ///// p < ....
分类:
其他好文 时间:
2014-06-18 14:41:06
阅读次数:
197
通过游标和SP_SPACEUSED来查看当前库所有表数据行、已分配空间总量、数据使用总量、索引使用总量、已分配但未使用总量 1 if OBJECT_ID ('tempdb..#temp') is not null 2 drop table #temp 3 go 4 CREATE TABLE #tem...
分类:
其他好文 时间:
2014-06-18 10:16:59
阅读次数:
242
#import
//交换函数
void swap(int x, int y)
{
printf("x=%d,y=%d",x,y);
int temp = 0;
temp = x;
x = y;
y = temp;
printf("x=%d,y=%d",x,y);
}
//
void swap2(int *x , int *y)...
分类:
编程语言 时间:
2014-06-18 07:10:13
阅读次数:
302
Prepare 10g Database for OGG
Create GGS and GGS_MON Database Users
SQL> create tablespace ggs_tbs datafile '/u01/app/oracle/oradata/zwc/gg_tbs01.dbf' size 100M;
Tablespace created.
SQL> cr...
分类:
数据库 时间:
2014-06-17 22:24:12
阅读次数:
334
/*分为四步 *//*第1步:创建临时表空间 */create temporary tablespace yuhang_temp tempfile 'D:\oracledata\yuhang_temp.dbf' size 50m autoextend on next 50m maxsize ...
分类:
数据库 时间:
2014-06-17 14:55:03
阅读次数:
316
当一个用户被创建之后, 随之就要为用户分配数据存储的空间, 称为表空间. 用于存储永久数据的 永久表空间, 用于存储临时数据的表空间 临时表空间.1. 表空间的创建(推荐使用toad)create tablespace USER_LEONdatafile '/opt/oracle/oradata/l...
分类:
其他好文 时间:
2014-06-15 13:17:35
阅读次数:
185
#include
#include
using namespace std;
struct Node{
int x, y;
friend bool operator b.x; //x最小的节点在队首
}
};
int main(){
priority_queue PQ;
Node temp = {2, 3};
PQ...
分类:
其他好文 时间:
2014-06-14 14:03:20
阅读次数:
355
#include
#include
using namespace std;
#define read(x) scanf("%lld",&x)
int main()
{
priority_queue,greater >q;
long long n,temp,sum;
read(n);
if(n==1)
{
read(temp);
printf("%lld\n",temp);
...
分类:
其他好文 时间:
2014-06-14 10:34:12
阅读次数:
223
void dfs(int k,int target,vector& candidates,vector& sol,vector >& res){ if(target==0){ vector temp(sol); res.push_back(temp); return; }else if(tar...
分类:
其他好文 时间:
2014-06-14 10:31:07
阅读次数:
196