写这个东西只是为了记录一下作为新手的自己经历,大家就不要吐得厉害哇,呵呵。。。。1、新建一个数据库名相同的数据库2、停止sql实例服务3、把数据库文件覆盖新的数据库文件4、启动实例服务5、执行以下语句alter
database dbname set emergency--紧急模式goalter d...
分类:
其他好文 时间:
2014-05-19 17:36:08
阅读次数:
224
The sp_rename procedure is not avialable in SQL
CE!In Sql Server 2005 Management Studio you have to create a new column with the
new name, then you ha...
分类:
数据库 时间:
2014-05-19 17:13:55
阅读次数:
342
发生错误的代码:/*** 获取下载列表中的视频名称, * 若果存在添加的视频与它相同 *
则提示用户该视频已经添加到下载列表 * 备注:添加的视频超过3时,程序会崩溃 * 抛出错误: android.dat...
分类:
移动开发 时间:
2014-05-19 16:49:38
阅读次数:
2657
http://searchoracle.techtarget.com/answer/Recover-database-using-backup-controlfile-until-cancel
What is checked or what happens when we "run recover ...
分类:
数据库 时间:
2014-05-19 16:32:56
阅读次数:
475
1
HIVE入门操作
1.1
连接环境
登陆成功显示如下:
输入 quit;
可退出hive环境
1.2
查看数据库
show databases;
1.3
创建数据库
create database mng;
1.4
链接数据库
use mng;
成功显示如下:...
分类:
其他好文 时间:
2014-05-18 18:44:37
阅读次数:
311
MantisBT 在提交问题的时候,系统默认“分配”给备选账号,而不是姓名。这样在使用的时候非常不便。
可以通过修改配置文件来改变,找到MantisBT根目录下文件config_inc.php,用文本编辑器打开。代码如下:
<?php
$g_hostname = 'XXX';
$g_db_type = 'XXX';
$g_database_name = 'XXX';
$g_db...
分类:
其他好文 时间:
2014-05-18 18:42:37
阅读次数:
303
Point pos(100, 100); //start point
m_animSprite->setPosition(pos);
int count = 8; float radius = 50.f; float angle = 360.f/count; auto array = PointArray::create(count + 1); Point pt0(r...
分类:
其他好文 时间:
2014-05-18 07:02:31
阅读次数:
250
-- =============================================
-- Author: ***
-- Create date: 2014-03-27 20:00
-- Description: 采用最新的 row_number() over 技术高...
分类:
数据库 时间:
2014-05-18 06:21:24
阅读次数:
317
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is o...
分类:
数据库 时间:
2014-05-18 06:19:21
阅读次数:
547
在lua中,可以通过元表来实现类、对象、继承等。与元表相关的方法有setmetatable()、__index、getmetatable()、__newindex。
具体什么是元表在这里就不细说了,网上很多介绍,这里主要讲与cocos2dx相关联的部分。
在lua-binding库中extern.lua里,有如下方法:
--Create an class.
function class(cl...
分类:
其他好文 时间:
2014-05-18 05:19:55
阅读次数:
298