1.创建测试数据库
create database ServerbrokerTest
on primary(
name=ServerbrokerTest_data,
filename='C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\DATA\ServerbrokerTest_data.mdf',
size=5...
分类:
数据库 时间:
2014-06-22 22:03:04
阅读次数:
354
1.classmethods
such
as select/update/insert/delete queries。
# Example:
class User(Model):
username = CharField()
join_date = DateTimeField()
is_admin = BooleanField()
u = User(use...
分类:
编程语言 时间:
2014-06-22 21:27:39
阅读次数:
436
??
启动Tomcat之后出现全是英文错误:
ORACLE DATABASE 10g EXPRESS EDITION LICENSE AGREEMENT
To use this license, you must agree to all of the following terms (by either clicking the accept button or installing an...
分类:
数据库 时间:
2014-06-22 15:48:26
阅读次数:
608
原文首发在github上 MongoNote01.Start
MongoDB is an open-source document database that provides high performance, high availability, and automatic scaling.
这是mongo官方给出的定义。定义里的几个关键点体现了mongo的几个突出的优点:
do...
分类:
其他好文 时间:
2014-06-22 15:31:57
阅读次数:
280
建立一个音乐列表,添加音乐能够用ListView显示出来。
添加音乐界面代码:
import android.app.Activity;
import android.content.ContentValues;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqli...
分类:
数据库 时间:
2014-06-22 15:20:46
阅读次数:
251
nginx作为web服务器,wordpress上传主题报错 413 Request Entity Too Large
解决:
vim /usr/local/nginx/conf/nginx.conf ’编辑nginx配置文件
client_max_body_size 20m; ‘在http段落里添加这一句后保存退出
/usr/local/nginx/sbin/nginx -s reload...
分类:
其他好文 时间:
2014-06-22 14:38:34
阅读次数:
203
一、Oracle内置角色connect与resource的权限
grant connect,resource to user;
CONNECT角色: --是授予最终用户的典型权利,最基本的
ALTER SESSION --修改会话
CREATE CLUSTER --建立聚簇
CREATE DATABASE LINK --建立数据库链接
CREATE SEQUENCE ...
分类:
数据库 时间:
2014-06-22 14:30:19
阅读次数:
209
在了解JDBC之前呢,我们可以先对ODBC做一个回顾,以便于更好的理解JDBC。看名字也知道这两个关系不一般,他们实现了同样的功能,为应用程序连接和操作数据库提供支持。所以,我们先从ODBC开始。
ODBC
ODBC(Open Database Connectivity)是开放数据库互连的简称,是一种使用SQL的应用程序接口。它是一系列的规范和对数据库访问的API。那么API+SQL就可以...
分类:
数据库 时间:
2014-06-22 14:28:16
阅读次数:
235
PMON: Process Monitor 用自动注册动态监听,处理异常进程。
SMON: System Monitor 用于instance recovery。
LCKn:仅使用于RAC数据库,用于instance之间的封锁。
RECO:用于分布式数据库的恢复,全称是Distributed Database Recovery。
CKPT: Check Point 由ORACLE的FAST...
分类:
数据库 时间:
2014-06-22 12:22:00
阅读次数:
232
There are two types of Standby databases:
1, Physical standby database
block-for-block basis
the physically identical with the primary database
user recovery technology
2, Logical standby databa...
分类:
其他好文 时间:
2014-06-22 08:35:53
阅读次数:
355