执行以下语句报"要修改数据类型,则要更改的列必须为空" alter table 表名 modify (目标字段 varchar2(100));解决步骤:第一步,在表中加一个临时字段 alter table 表名 add 临时字段 目标字段原来的类型;第二步,将目标字段的值付给临时字段,并将目标字段置...
分类:
数据库 时间:
2014-07-09 22:49:01
阅读次数:
365
open a cmd window and type reg query "HKCU\Control Panel\International" which will show you the values as you want them.Then to modify them, use REG A...
分类:
其他好文 时间:
2014-07-06 23:26:01
阅读次数:
1227
将一批Job从一台agent服务器搬到另外一台agent, 没有做任何的修改,但是job执行的时候报错。1 Error: 2014-07-03 14:42:57.142 Code: 0xC02093033 Source: ReliabilityRS2008 Connection mana...
分类:
数据库 时间:
2014-07-06 23:23:24
阅读次数:
353
System.ConfigurationManager类用于对配置文件的读取。其具有的成员如下:一、AppSettings AppSetting是最简单的配置节,读写非常简单。名称说明AppSettings获取当前应用程序默认配置的 AppSettingsSection 数据Connection.....
分类:
其他好文 时间:
2014-07-06 20:46:10
阅读次数:
107
//ODBC连接Excelpublic static void main(String[] args) {Connection conn = null;Statement stm = null;ResultSet rs = null;try {//加载ODBC驱动Class.forName("sun...
分类:
数据库 时间:
2014-07-06 16:51:33
阅读次数:
234
openfire 安装报这个错误 A connection to the database could not be made. View the error message by opening the "\logs\error.log" log file, then go back to fix...
分类:
数据库 时间:
2014-07-06 16:43:00
阅读次数:
284
Hibernate Session 获取connection由于最近一个项目要用到一条辅助的SQL ,hibernate里面的SQLQuery API 总的SQL语句不能包含 : 冒号, 固放弃Hibernate, 直接使用JDBC.Hibernate3.3.2版本中getSession().con...
分类:
系统相关 时间:
2014-07-06 14:46:30
阅读次数:
349
在VB中,连接ACCESS数据库的方法主要有以下三种 使用ADO对象,通过编写代码訪问数据库 Connection 对象 ODBC数据源使用ADO Data 控件高速创建数据库连接 有三种连接方法 Data Link文件 使用ODBC数据源名称 使用连接字符串 使用数据环境设计器创建数据...
分类:
数据库 时间:
2014-07-05 17:32:06
阅读次数:
277
public function post_tweet($tweet_text) {
include_once('twitter/tmhOAuth.php');//tmhOAuth.php为twitter api,放到/lib/twitter下,下载地址请往下阅读
$connection = new tmhOAuth(array(
'consumer_key...
分类:
其他好文 时间:
2014-07-04 07:59:39
阅读次数:
376
usingSystem;usingSystem.Data;usingSystem.Data.SqlClient;namespaceDBUtil{classProgram{staticvoidMain(string[]args){//连接数据库/***注意如果是本地数据库用Trusted_Connection=SSPI;*是server的话用uid,pwd等账户密码进行验证*/SqlConnectionmyCon=newSqlConnection();..
分类:
数据库 时间:
2014-07-03 14:01:49
阅读次数:
220