数据库技术-周排行
昨天被文档truncate与delete的区别,truncate没用过,回去百度了一下,才知道还有这个一种语句。truncate table命令将快速删除数据表中的所有记录(保留数据表结构)。这种快速删除与delete from 数据表的删除全部数据表记录不一样,delete命令删除的数据将存储在系...
分类:数据库技术 时间:2014-03-30 10:29:26 收藏:0 阅读:456
Oracle Linux下载地址与Preinstallation RPMs安装
分类:数据库技术 时间:2014-03-30 01:57:25 收藏:0 阅读:492
8.3.2 Dropping Tablespaces and Deleting Datafiles 8.3.2 删除表空间和删除数据文件 When you delete one or more datafiles or drop one or more tablespaces in the primary database, you also need to delete the...
分类:数据库技术 时间:2014-03-30 07:51:37 收藏:0 阅读:587
Red Hat5 安装 Oracle11g R2完整流程 1.验证安装查看是否有缺少的包 # uname -r 或 cat /proc/version 2.6.9-34.EL 或 2.6.18-8 所需程序包的版本 程序文件保存在/opt/data目录下 linux 5: [root@localhost ~]# rpm -qa|grep binutils compat gcc glibc libaio libgcc libst...
分类:数据库技术 时间:2014-03-30 09:00:45 收藏:0 阅读:587
ct = new ConnDB().getConn(); ps = ct.prepareStatement("select * from news where keyWords like'%?%'"); ps.setString(1, search);这样的方式给like里的问号赋值,会报错 Parameter index out of range (1 > number of pa...
分类:数据库技术 时间:2014-03-30 07:35:11 收藏:0 阅读:583
selectid,namefromwhereid=1selectid,namefromwhereid=1limit1====》很快如果id是主键就无所谓
分类:数据库技术 时间:2014-03-30 04:22:21 收藏:0 阅读:550
1. 综述DbDriver只是对于MYSQL C API的一个非常简单的封装,作者原句是This class does as little as possible to adapt between its public interface and the interface required by ...
分类:数据库技术 时间:2014-03-30 16:45:46 收藏:0 阅读:706
我们可以通过使用mysqlpp:: Query来进行SQL语句的增删改查。首先来看一下mysqlpp::Query的一些最简单的调用,conn.connect(mysqlpp::examples::db_name, "127.0.0.1", "root", "root");mysqlpp::Quer...
分类:数据库技术 时间:2014-03-30 16:24:47 收藏:0 阅读:827
今天同事在测试文件同步功能时,发现当删除一个文件夹目录,里面含有很多文档的时候就报: Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted at org.apache.commons.dbcp.PoolingDataSource.getConnection...
分类:数据库技术 时间:2014-03-30 13:46:36 收藏:0 阅读:817
1.假设已经有mysql-5.5.10.tar.gz以及cmake-2.8.4.tar.gz两个源文件(1)先安装cmake(mysql5.5以后是通过cmake来编译的)[root@ rhel5 local]#tar -zxv -f cmake-2.8.4.tar.gz[root@ rhel5 l...
分类:数据库技术 时间:2014-03-31 10:58:18 收藏:0 阅读:629
linuxmysql找不到原因:缺少libmysqlclient-dev,安装:apt-get install libmysqlclient-devmain.cpp#include #include #include using namespace std;int main(){ MYSQLmysq...
分类:数据库技术 时间:2014-03-31 10:40:28 收藏:0 阅读:682
花了一个下午的时间终于连上了:总结一下JDBC连接oracle的步骤:1.Load the Driver <1.Class.forName()|Class.forname().newinstance()|new DirverName() <2.实例化时自动向DirverManager注册,不需显式调...
分类:数据库技术 时间:2014-03-31 10:29:30 收藏:0 阅读:607
8.3.5 Adding or Dropping Online Redo Log Files 8.3.5 添加或删除现在重做日志文件 Changing the size and number of the online redo log files is sometimes done to tune the database. You can add or drop onlin...
分类:数据库技术 时间:2014-03-31 04:42:38 收藏:0 阅读:698
8.3.3 Using Transportable Tablespaces with a Physical Standby Database 8.3.3 物理备库使用传输表空间 You can use the Oracle transportable tablespaces feature to move a subset of an Oracle database and plu...
分类:数据库技术 时间:2014-03-31 05:24:44 收藏:0 阅读:651
include文件-------------------------------------------------------init.php------------------------------------config.class.php--------------------------------------------------------config.inc.php------------------------------------mysql.class.php----------..
分类:数据库技术 时间:2014-03-31 05:38:18 收藏:0 阅读:486
外键约束的测试表与测试数据-- 创建测试主表. ID 是主键.CREATE TABLE test_main (id INT,value VARCHAR(10),PRIMARY KEY(id) ); -- 创建测试子表. CREATE TABLE test_sub (id INT,main_id IN...
分类:数据库技术 时间:2014-03-31 09:45:00 收藏:0 阅读:555
解决SQL Server安装挂起 在安装sql server时出现“以前的某个程序安装已在安装计算机上创建挂起的文件操作。运行安装程序之前必须重新启动计算机”错误。无法进行下去 点击 开始 运行 输入:regedit 打开注册表 找到如下目录:HKEY_LOCAL_MACHINE\SYSTEM\Cu...
分类:数据库技术 时间:2014-03-31 12:44:25 收藏:0 阅读:570
每个表可以看作一个实体,表中字段看作实体的属性。实体间的关系(表与表的关系):一对一、一对多、多对多一对一:一条记录只对应其他表中的一条记录有关系学生基本信息表t_student,成绩表t_studentScore含有一个外键studentId。基本信息表中的studentId和成绩表中的stude...
分类:数据库技术 时间:2014-03-31 12:29:22 收藏:0 阅读:483
Spring JdbcTemplate框架搭建及其增删改查使用指南,代码下载地址:http://www.zuidaima.com/share/1724429678644224.htm...
分类:数据库技术 时间:2014-03-31 13:18:38 收藏:0 阅读:630
方案(Schema)为数据库对象的集合,为了区分各个集合,我们需要给这个集合起个名字,这些名字就是我们在企业管理器的方案下看到的许多类似用户名的节点,这些类似用户名的节点其实就是一个schema,schema里面包含了各种对象如tables, views, sequences, stored procedures, synonyms, indexes, clusters, and database...
分类:数据库技术 时间:2014-03-31 19:00:07 收藏:0 阅读:633
126126226326426510978
上一页219544下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!