MySQL backup - How to backup a MySQL database
分类:
数据库 时间:
2015-06-18 21:53:02
阅读次数:
139
MySQL show status - show open database connections
分类:
数据库 时间:
2015-06-18 21:48:58
阅读次数:
140
MySQL "show users" - how to show/list the users in a MySQL database
分类:
数据库 时间:
2015-06-18 21:50:55
阅读次数:
136
一、介绍 此 API 基于 W3C WEB SQL Database Specification 和 W3C Web Storage API Specification。 有些 设备已经提供了对该规范的实现,对于这些设备采用内置实现而非使用 PhoneGap 的实现。 对于没有存储支持的设 备...
分类:
数据库 时间:
2015-06-18 21:46:40
阅读次数:
140
MySQL foreign key - How to define a foreign key in MySQL
分类:
数据库 时间:
2015-06-18 21:43:25
阅读次数:
166
MySQL - Default a date (timestamp) field to now
分类:
数据库 时间:
2015-06-18 21:41:46
阅读次数:
122
A MySQL foreign keys drop table, re-create table example
分类:
数据库 时间:
2015-06-18 21:40:39
阅读次数:
235
Update MySQL timestamp on update
分类:
数据库 时间:
2015-06-18 21:32:58
阅读次数:
123
转自http://itindex.net/detail/45962-oracle-sql-%E8%AE%A1%E5%88%92 一、首先创建表 SQL> show userUSER is "RHYS"SQL> create table A(col1 number(4,0),col2 number(4...
分类:
数据库 时间:
2015-06-18 21:34:16
阅读次数:
225
MySQL auto increment - the MySQL auto_increment attribute
分类:
数据库 时间:
2015-06-18 21:30:51
阅读次数:
166
//带参数的小列子 if (exists (select * from sys.objects where name = ‘proc_get_Purchasing2‘)) drop proc proc_get_student go alter proc proc_get_Purchasing2(@today int) as --declare @today int? //申...
分类:
数据库 时间:
2015-06-18 20:22:58
阅读次数:
173
项目中使用JdbcTemplate进行DAO层封装,有时需要调试查看SQL语句及参数 首先是SQL语句: 查看了JdbcTemplate的反编译源码,发现打印语句的地方,其日志级别为debug, 因此,添加log4j参数:log4j.logger.org.spri...
分类:
数据库 时间:
2015-06-18 20:22:48
阅读次数:
169
oracle树查询的最重要的就是select…start with…connect by…prior语法了。依托于该语法,我们可以将一个表形结构的以树的顺序列出来。在下面列述了oracle中树型查询的常用查询方式以及经常使用的与树查询相关的...
分类:
数据库 时间:
2015-06-18 20:20:59
阅读次数:
222
1、安装相关包yuminstallpython-develmysql-develzlib-developenssl-devel2、安装setup、mysql-python包wgethttp://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gzwgethttp://downloads.sourceforge.net/project/mysql-python/mysql-python/1.2.3/MyS..
分类:
数据库 时间:
2015-06-18 20:20:23
阅读次数:
166
以root权限操作1.安装unixODBC【下载地址http://www.unixodbc.org/】shconfigure--prefix=/usr/local/unixODBCmakemakeinstall2.安装freetds【下载地址http://www.freetds.org/software.html】shconfigure-prefix=/usr/local/freetds--with-unixodbc=/usr/local/unixODBC
/-wit..
分类:
数据库 时间:
2015-06-18 20:19:44
阅读次数:
217
首先需要安装zlib、zlib-devl、python和python-devel。yuminstallzlibzlib-devel安装使用包wgethttp://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz获得连接连接mysql的包wgethttp://downloads.sourceforge.net/project/mysql-python/mysql-python/..
分类:
数据库 时间:
2015-06-18 20:19:01
阅读次数:
157
用户添加bin>mysql-urootmysql>grant权限1,权限2,...权限non数据库名称.表名称to用户名@用户地址identifiedby‘连接口令‘;权限1,权限2,...权限n代表select,insert,update,delete,create,drop,index,alter,grant,references,reload,shutdown,process,file等14个权限。当权..
分类:
数据库 时间:
2015-06-18 20:16:22
阅读次数:
155