我们首先启动一台机器,启动的时候attach一个volume 创建一个空的cinder volume root:~# cinder create --display-name emptyvolume11g 11+---------------------+----------------------...
分类:
其他好文 时间:
2014-07-07 10:33:51
阅读次数:
211
1,MySQL建库语句比较简单,一句话:1 create database tppamltest32,创建用户及授权:1 insert into mysql.user(Host,User,Password,ssl_cipher,x509_issuer,x509_subject) values("lo...
分类:
数据库 时间:
2014-07-07 09:02:47
阅读次数:
295
row_number() OVER (PARTITION BY COL1 ORDER BY COL2)
--表示根据COL1分组,在分组内部根据 COL2排序,而此函数返回的值就表示每组内部排序后的顺序编号(组内连续的唯一的)
例子一: create table student (id int ,classes int ,score int);
insert into student val...
分类:
其他好文 时间:
2014-07-03 18:33:50
阅读次数:
213
1.链接数据库:mysql -h localhsot -u root -p2.显示MySql中的数据库:show databases;3.进入数据库:use (数据库名称);4.查看数据库中的表:show tables;5.显示表结构:desc (表名称);6.创建数据库:create badaba...
分类:
数据库 时间:
2014-07-03 13:16:56
阅读次数:
299
The principle to create Object Constants is that make variables shouldn't be changed stand out using all caps and add constants as static properties t...
分类:
编程语言 时间:
2014-07-02 20:28:47
阅读次数:
210
//
以下是主库:
下列语句可以用来检查SQL应用能否唯一识别表列,并找出不被支持的表:查询哪个表不支持logical standby传输
SQL> select owner, table_name from dba_logstdby_not_unique where (owner, table_name) not in (select distinct owner, table_name...
分类:
数据库 时间:
2014-07-02 16:40:01
阅读次数:
368
Border布局:
Ext.onReady(function(){
Ext.QuickTips.init();
Ext.create('Ext.container.Viewport', { //一般是渲染到viewport中
title: "table布局的面板",
layout:'border',
default...
分类:
Web程序 时间:
2014-07-02 15:25:24
阅读次数:
276
/*1.创建数据库*/create database if not exists test_01;/*2.查询所有数据库*/show databases;/*3.使用数据库 */use test_01;/*4.创建表*/create table if not exists BaseUser( ...
分类:
数据库 时间:
2014-07-02 14:11:25
阅读次数:
194
I was trying to understand what kind of image nova image-create creates. It’s not entirely obvious from its help output, which says — Creates a new im...
分类:
其他好文 时间:
2014-07-02 14:04:56
阅读次数:
297
关于该风格要注意几点的是:
WS_EX_CLIENTEDGE窗口风格并不是对所有窗口都有效,只有窗口有客户区的时候才有效,这样当它用在比如button,combox,tab无客户区的控件时,它是无效的。通过对话框模版创建的控件ListCtrl,如果你指定了WS_BORDER,这时WS_BORDER将被拿掉,而WS_EX_CLIENTEDGE会被设置上。但是如果你通过create手动创建则不会...
分类:
其他好文 时间:
2014-07-02 11:48:12
阅读次数:
229