码迷,mamicode.com
首页 > 数据库
数据库中的索引
很多朋友在操作数据库的时候经常会用到索引,通过索引获取数据的确可以让这个sql语句运行的更快,但是很多人并不知道为什么使用索引会变快,更不用说索引的一些弊端了,今天主要介绍一下索引。索引结构:首先声明,索引有很多种,B树索引、hash索引、位图索引、文本索引等等,..
分类:数据库   时间:2016-12-25 18:55:23    阅读次数:204
JDBC增删改查和查唯一的完整代码
第一部分代码(实体类) package com.wf.entity; public class Hehe{ private int hehe_id; private String hehe_name; private String hehe_gender; public int getHehe_id ...
分类:数据库   时间:2016-12-25 18:46:27    阅读次数:219
数据库基础学习
在Java的数据库学习中,我们主要学习的是MYSQL数据库,这是一个中型的数据库。 要使用数据库就必须先建立库,然后使用mysql语句对数据库中的数据进行操作,接下来我便来简单的说说mysql的一些常用的语句:我们主要使用DML语句对数据库中的表中数据进行增、删、改操作,而使用DQL语句对数据库中的 ...
分类:数据库   时间:2016-12-25 18:47:44    阅读次数:286
Freebie: Date Picker Calendar Demo Form For Oracle Forms 6i
I have already posted and provided the required PLSQL Library and the Calendar FMX file in my previous blog post Date Picker Calendar For Oracle Forms... ...
分类:数据库   时间:2016-12-25 18:45:50    阅读次数:263
T-SQL 实现行转列
问题: 我正在寻找一种有效的方式将行转换为SQL服务器中的列 例如,通过下表如何构建出预期结果表。 Id Value ColumnName 1 John FirstName 2 2.4 Amount 3 ZH1E4A PostalCode 4 Fork LastName 5 857685 Accou ...
分类:数据库   时间:2016-12-25 18:40:24    阅读次数:277
Java 之 数据库
1.SQL——结构化查询语言 a.分类:①DDL——数据定义语言 ②DQL——数据查询语言 ③DML——数据操作语言 ④DCL——数据控制语言 b.DDL:包括对数据库的创建、使用、删除,对表的创建、删除、修改 c.DML:包括对表里的数据 增、删、改 d.DQL:对表里的数据进行各种各样的查询 2 ...
分类:数据库   时间:2016-12-25 18:40:16    阅读次数:246
Freebie - Utility Form: Generate Excel Report From SQL Query In Oracle Forms 6i And 11g
Sharing a form to generate Excel file report from SQL query in Oracle Forms. This form can be used in Oracle Forms 6i and 10g / 11g. Below is the scre... ...
分类:数据库   时间:2016-12-25 18:40:14    阅读次数:237
SqlServer性能优化(一)
一:数据存储的方式: 1.数据文件:.mdf或.ndf 2.日志文件:.ldf 二:事务日志的工作步骤: 1.数据修改由应用程序发出(在缓冲区进行缓存) 2.数据页位于缓存区缓冲中,或者读入缓冲区缓存然后修改 3.修改记录在磁盘上的事务日志中 4.检查点将提交的事物写入数据库中 三:手工性能收集项 ...
分类:数据库   时间:2016-12-25 18:37:59    阅读次数:212
MySQL事务学习-->隔离级别
MySQL事务学习-->隔离级别 6 事务的隔离级别 设置的目的 在数据库操作中,为了有效保证并发读取数据的正确性,提出的事务隔离级别。 数据库是要被广大客户所共享访问的,那么在数据库操作过程中很可能出现以下几种不确定情况。 更新丢失 两个事务都同时更新一行数据,但是第二个事务却中途失败退出,导致对 ...
分类:数据库   时间:2016-12-25 18:35:03    阅读次数:244
MySQL的几种连接 join/inner join/cross join/逗号/left join/right join/natural join
转载请注明出处!! 之前数据表连接操作多使用逗号或者join,对几种连接的概念一直浑浑噩噩,最近研究了一波,把这些连接的区别搞明白了。 连接:A xjoin B(主表 操作 关联表) select过程:from->where->group by->having->order by->limit 在不 ...
分类:数据库   时间:2016-12-25 18:34:02    阅读次数:299
Run_Product Example Form - Oracle Forms 6i
I have already posted in my previous post Running Reports Using Run_Product to run reports in Oracle Forms 6i and in this post I am using the same pro... ...
分类:数据库   时间:2016-12-25 18:30:37    阅读次数:324
Date Picker Calendar For Oracle Forms 6i
Giving date picker calendar option to user for date type fields in Oracle Forms. I am providing you the form (FoxCal.Fmx) and two libraries (General.p... ...
分类:数据库   时间:2016-12-25 18:30:25    阅读次数:314
Formatting Excel File Using Ole2 In Oracle Forms
Below is the some useful commands of Ole2 to format excel file in Oracle Forms.-- Change font size and name in ole2-- Declare as cfont ole2.obj_type;C... ...
分类:数据库   时间:2016-12-25 18:27:08    阅读次数:764
Oracle Forms Project For Students Free Download
After getting to much requests for a free Oracle Forms and Reports project for students, I am sharing a project with source code (Oracle Forms example... ...
分类:数据库   时间:2016-12-25 18:19:59    阅读次数:313
Creating Excel File in Oracle Forms
Below is the example to create an excel file in Oracle Forms.Pass the Sql query string to the below procedure to generate an Excel file using Ole2 pac... ...
分类:数据库   时间:2016-12-25 18:11:20    阅读次数:215
Oracle 使用MERGE INTO 语句更新数据
/*Merge into 详细介绍MERGE语句是Oracle9i新增的语法,用来合并UPDATE和INSERT语句。通过MERGE语句,根据一张表或子查询的连接条件对另外一张表进行查询,连接条件匹配上的进行UPDATE,无法匹配的执行INSERT。这个语法仅需要一次全表扫描就完成了全部工作,执行效 ...
分类:数据库   时间:2016-12-25 18:05:30    阅读次数:194
Create Custom Modal Dialog Windows For User Input In Oracle Forms
An example is given below to how to create a modal dialog window in Oracle Forms for asking user input and return the value to any text item. The foll... ...
分类:数据库   时间:2016-12-25 18:02:21    阅读次数:408
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!