using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:
数据库 时间:
2015-02-26 16:27:11
阅读次数:
406
上次学到对数据库中某表添加字段,下面我们继续学习--修改数据库表中某列字段use 数据库alter table 表名 alter column 列明 列类型--如何删除数据库中某列字段use 数据库alter table 表名 drop column 列名--删除数据库中某个表use 数据库drop...
分类:
数据库 时间:
2015-02-26 16:19:34
阅读次数:
194
因为爱好,决定自己今天开始自学SqlServer教程,为此记录每天学习情况,以此鞭策自己。好了,废话不多说了,下面为今天学习到的内容:SQL Server 是Microsoft 公司推出的关系型数据库管理系统。具有使用方便可伸缩性好与相关软件集成程度高等优点,可跨越从运行Microsoft Wind...
分类:
数据库 时间:
2015-02-26 16:15:48
阅读次数:
189
Many Ford and Mazda models (approximately since 2003-2004) are equipped with MS CAN bus, in addition to the regular HS CAN bus. In contrast to HS CAN ...
分类:
数据库 时间:
2015-02-26 16:15:57
阅读次数:
217
linux64 red hat 6.3企业版 开始错误装了32位mysql最后怎么也装不上64mysql了,折腾了一番最后全部卸载搞定: file /etc/init.d/mysql from install of MySQL-server-5.5.28-1.linux2.6.x86_64 con....
分类:
数据库 时间:
2015-02-26 16:14:44
阅读次数:
235
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:
数据库 时间:
2015-02-26 16:11:57
阅读次数:
272
为了更加方便调试sql语句,需要显示mybatis的sql语句。 网络上的一般方式都是通过log4j来实现,但是很多都有问题。 经过实验,以下代码能够保持正常:(只显示mybatis的sql语句的debug语句,其他的debug不显示) log4j.rootLogger = DEBUG,CONSOL...
分类:
数据库 时间:
2015-02-26 16:11:49
阅读次数:
179
一、MySQL日志的分类1、错误日志2、一般查询日志3、慢查询日志4、二进制日志5、中继日志6、事务日志二、查看MySQL的日志参数变量mysql>SHOWGLOBALVARIABLESLIKE‘%log%‘;
+-----------------------------------------+---------------------------------+
|Variable_name|Val..
分类:
数据库 时间:
2015-02-26 15:05:58
阅读次数:
377
接触过UNIX或者Linux的朋友都知道此类系统有着功能强大、无所不能的壳程序,称之为Shell。微软公司于2006年第四季度正式发布PowerShell,它的出现标志着,微软公司向服务器领域迈出了重要的一步,不仅提供简便的图形化操作界面,同时提供类似于Unix,Linux等操作系统中强大的Shell..
分类:
数据库 时间:
2015-02-26 15:04:23
阅读次数:
304
上个月26到这个月25号 SQLhttp://topic.csdn.net/u/20070321/09/f1fb9632-effc-42c3-8fc2-00a4ae125cc9.htmlselect dateadd(day,26,dateadd(month,-1,DATEADD(day,0-day(...
分类:
数据库 时间:
2015-02-26 14:54:45
阅读次数:
269
总结:1.三个配置文件都是放在$ORACLE_HOME\network\admin目录下。2.sqlnet.ora确定解析方式3.listener.ora上设SID_NAME,通常用于JDBC访问,对应的错误码为125054.tnsnames.ora上设SERVICE_NAME,通常用于linuxs...
分类:
数据库 时间:
2015-02-26 14:49:47
阅读次数:
221
1.概念①Coil和Register Modbus中定义的两种数据类型。Coil是位(bit)变量;Register是整型(Word,即16-bit)变量。②Slave和Master与Server和Client 同一种设备在不同领域的不同叫法。 Slave: 工业自动化用语;响应请求;...
分类:
数据库 时间:
2015-02-26 14:47:29
阅读次数:
292
怎样看懂Oracle的执行计划一、什么是执行计划An explain plan is a representation of the access path that is taken when a query is executed within Oracle.二、如何访问数据At the phy...
分类:
数据库 时间:
2015-02-26 14:38:27
阅读次数:
163
Access to the path '路径' is denied. 我在网上找了很多资料,最后终于解决了,原来是因为在该文件的上级文件夹没有修改权限, 也就是说,那个user用户没有修改的权限 问题如下: 在windows 2003下安装了VS2003,在运行web应用程序的时候出现一下错误:对....
分类:
数据库 时间:
2015-02-26 14:37:57
阅读次数:
371
.NET 有一个抽象工厂模式的典型应用:通过DBProviderFactory 可以对不同数据库进行操作using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Se...
分类:
数据库 时间:
2015-02-26 14:36:27
阅读次数:
217
Windows环境和Unix环境都能够实现数据库的自动启动
Windows环境下:
实验方法相对简单,通过修改注册表或用oradim命令来实现:
oradim -edit -startmode [auto|manual] -shutmode [nomal|immediate|abort]
Unix环境下:
通过数据库自带的dbstart命令来实验.
命令: dbstart + ...
分类:
数据库 时间:
2015-02-26 13:30:42
阅读次数:
213
9以后,通过流复制直接做主:192.168.1.111从:192.168.1.222需要在postgres帐号下先配置ssh互信,双机都配置sh-keygen -t rsassh-copy-id -i ~/.ssh/id_rsa.pub postgres@192.168.1.222测试ssh 192...
分类:
数据库 时间:
2015-02-26 13:26:24
阅读次数:
333