USE master
RESTORE DATABASE WSS_Content FROM DISK = N'D:\bak\contentbak.bak'
WITH REPLACE, NORECOVERY
,MOVE 'WSS_Content' TO N'D:\bak3\WSS_Content.mdf'
,MOVE 'WSS_Content_LOG' TO N'D:\bak3\WSS_Con...
分类:
数据库 时间:
2014-08-01 16:07:01
阅读次数:
235
1、创建临时表空间
创建表空间时,dbf文件一般存放在datafile文件的存放目录下(一般是在实例名命名的文件夹下面)
可以通过 select * from v$datafile;查看所有数据文件的存放位置
create temporary tablespace 表空间名
tempfile '/data/oradata/CHUANSHU/datafile/tmp_文件名.dbf'
siz...
分类:
数据库 时间:
2014-08-01 13:37:41
阅读次数:
272
当然:还是建议在简历表空间时就让其自动扩充的,代码如下:(注意倒数三行) create?tablespace?prmms_log??
logging???
datafile?‘C:\app\Administrator\product\11.2.0\dbhome_1\database\prmms_log....
分类:
数据库 时间:
2014-07-31 21:25:08
阅读次数:
296
1、curses库 /* 基本curses函数 */
initscr(); // 初始化curses库和tty
endwin(); // 关闭curses并重置tty
refresh(); // 使屏幕按照你的意图显示
move(r, c); // 移...
分类:
系统相关 时间:
2014-07-31 17:28:31
阅读次数:
369
Description
The inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj) that satisfy i aj.
For a given sequence of numbers a1, a2, ..., an, if we move the ...
分类:
其他好文 时间:
2014-07-31 13:31:46
阅读次数:
229
1、对于题目给出的已知数据是一个开始时间和一个结束时间的题
第一反应会是将开始时间进行排序
但这样做比较麻烦
做题应该多换几个角度和思维
将这类题按结束时间进行排序会简单的多
2、结构体
struct move //struct是结构体函数
{
int a; //结构体成员
dou...
分类:
其他好文 时间:
2014-07-29 21:51:32
阅读次数:
257
有问题
//ListBox选中的项目移动到第1位 Listbox1.Items.Move(ListBox1.ItemIndex,0); //ListView选中的项目移动到第1位 procedure TForm1.Button5Click(Sender: TObject);varsel:String...
分类:
其他好文 时间:
2014-07-29 21:19:32
阅读次数:
229
/*思路:
看到此题第一反应是将开始时间进行排序
但是这样会比较麻烦
做题应该多换几个角度和思维
将此题按结束时间进行排序
会简单得多*/
#include
#include//qsort排序必加头文件
struct move
{
int tis;
int tie;//成员
}num[110];//只用一个数组就好,因为一个数组里面...
分类:
其他好文 时间:
2014-07-29 18:00:52
阅读次数:
238
在unix/linux中使用文件描述符(File Descriptors)来找回被删掉的文件(数据文件or redo log)...
分类:
系统相关 时间:
2014-07-28 16:27:23
阅读次数:
259
Knight Moves
Description
Background
Mr Somurolov, fabulous chess-gamer indeed, asserts that no one else but him can move knights from one position to another so fast. Can you beat him?
The P...
分类:
其他好文 时间:
2014-07-26 17:23:32
阅读次数:
590