使用resetlogs选项,会把当前的日志序号(log sequence number)重设为1,并抛弃所有日志信息。在以下条件时需要使用resetlogs选项:在不完全恢复(介质恢复);使用备份控制文件。使用resetlogs打开数据库后,务必要完整地进行一次数据库备份。不完全恢复只能做一次吗?采...
分类:
数据库 时间:
2014-07-07 22:21:21
阅读次数:
430
看来有的人还是对schema的真正含义不太理解,如今我再次整理了一下,希望对大家有所帮助。我们先来看一下他们的定义:A schema is a collection of database objects (used by a user.). Schema objects are the logic...
分类:
数据库 时间:
2014-07-07 21:49:52
阅读次数:
193
为了对重复数据进行实验,下面建一个设计不太好(没有主键)表并插入了一些重复数据:create database testdbuse testdb ;gocreate table DupsNoPK(Col1 int Null, Col2 char(5) Null);goinsert DupsNoPK(...
分类:
数据库 时间:
2014-07-07 21:49:13
阅读次数:
192
原文:MSSQL如何在没有主键的表中删除重复数据为了对重复数据进行实验,下面建一个设计不太好(没有主键)表并插入了一些重复数据:create database testdbuse testdb ;gocreate table DupsNoPK(Col1 int Null, Col2 char(5) ...
分类:
数据库 时间:
2014-07-07 21:26:11
阅读次数:
233
# -*- coding: utf-8 -*-import pymssqlconn=pymssql.connect(host=".",user="sa",password="",database="UFDATA_001_2013",charset="utf8")#conn=pymssql.conne...
分类:
数据库 时间:
2014-07-07 19:55:41
阅读次数:
224
MYSQL术语表http://dev.mysql.com/doc/refman/5.6/en/glossary.htmlMySQL GlossaryThese terms are commonly used in information about the MySQL database server...
分类:
数据库 时间:
2014-07-07 18:27:17
阅读次数:
524
先查看数据库逻辑名称:restore filelistonly from disk='D:/database.bak'然后恢复:restore database smsdb from disk = 'd:\smsdb.bak'with move '数据库逻辑名称' to 'C:\Progra...
分类:
数据库 时间:
2014-07-07 15:47:56
阅读次数:
318
alias ll='ls -al'use_color=false# Set colorful PS1 only on colorful terminals.# dircolors --print-database uses its own built-in database# instead of ...
分类:
其他好文 时间:
2014-07-07 13:41:54
阅读次数:
245
Creating a Physical Standby Database
This case is created, operated and followed the steps from oracle online help documentation.
The configuration of the two sites server:
Primary Database:
[roo...
分类:
数据库 时间:
2014-06-30 19:37:39
阅读次数:
313
本文主要介绍免安装配置mysql5.6.19的过程,整个过程中自己出现很多次失误,经过整理,现将一次可成功的过程记录下来,供大家参考。
准备
在mysq官网 http://dev.mysql.com/downloads/mysql/,下载最新稳定版本。
本文使用的mysql版本为5.6.19,因下载免安装版本,在页面选择“Windows (x86,
64-bit), ZIP Ar...
分类:
数据库 时间:
2014-06-30 10:21:24
阅读次数:
348