首页 > 数据库技术
MySQL show status - show open database connections
MySQL show status - show open database connections
分类:数据库技术   时间:2015-06-18 21:48:08    收藏:0  评论:0  赞:0  阅读:267
MySQL "show users" - how to show/list the users in a MySQL database
MySQL "show users" - how to show/list the users in a MySQL database
分类:数据库技术   时间:2015-06-18 21:47:38    收藏:0  评论:0  赞:0  阅读:180
PhoneGap 的存储 API_Web Sql
一、介绍 此 API 基于 W3C WEB SQL Database Specification 和 W3C Web Storage API Specification。 有些 设备已经提供了对该规范的实现,对于这些设备采用内置实现而非使用 PhoneGap 的实现。 对于没有存储支持的设 备...
分类:数据库技术   时间:2015-06-18 21:46:08    收藏:0  评论:0  赞:0  阅读:316
MySQL foreign key - How to define a foreign key in MySQL
MySQL foreign key - How to define a foreign key in MySQL
分类:数据库技术   时间:2015-06-18 21:40:18    收藏:0  评论:0  赞:0  阅读:114
MySQL - Default a date (timestamp) field to now
MySQL - Default a date (timestamp) field to now
分类:数据库技术   时间:2015-06-18 21:40:08    收藏:0  评论:0  赞:0  阅读:218
A MySQL foreign keys drop table, re-create table example
A MySQL foreign keys drop table, re-create table example
分类:数据库技术   时间:2015-06-18 21:38:18    收藏:0  评论:0  赞:0  阅读:262
Update MySQL timestamp on update
Update MySQL timestamp on update
分类:数据库技术   时间:2015-06-18 21:32:38    收藏:0  评论:0  赞:0  阅读:268
oracle sql 执行计划分析
转自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:31:38    收藏:0  评论:0  赞:0  阅读:386
MySQL auto increment - the MySQL auto_increment attribute
MySQL auto increment - the MySQL auto_increment attribute
分类:数据库技术   时间:2015-06-18 21:30:38    收藏:0  评论:0  赞:0  阅读:250
sqlserver 存储过程例子
//带参数的小列子 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:20:58    收藏:0  评论:0  赞:0  阅读:277
Log4j打印JdbcTemplate及参数
项目中使用JdbcTemplate进行DAO层封装,有时需要调试查看SQL语句及参数 首先是SQL语句: 查看了JdbcTemplate的反编译源码,发现打印语句的地方,其日志级别为debug, 因此,添加log4j参数:log4j.logger.org.spri...
分类:数据库技术   时间:2015-06-18 20:20:48    收藏:0  评论:0  赞:0  阅读:1334
Oracle 树操作(select…start with…connect by…prior)
oracle树查询的最重要的就是select…start with…connect by…prior语法了。依托于该语法,我们可以将一个表形结构的以树的顺序列出来。在下面列述了oracle中树型查询的常用查询方式以及经常使用的与树查询相关的...
分类:数据库技术   时间:2015-06-18 20:20:18    收藏:0  评论:0  赞:0  阅读:288
python操作oracle和mysql
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:18:08    收藏:0  评论:0  赞:0  阅读:332
Linux下Python访问SQLServer
以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:16:38    收藏:0  评论:0  赞:0  阅读:184
python操作mysql
首先需要安装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:16:18    收藏:0  评论:0  赞:0  阅读:297
给mysql增加用户权限
用户添加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:15:58    收藏:0  评论:0  赞:0  阅读:298
mysql表分区
范围分区:CREATETABLEBIGTABLE(IDINT,SNPTIMEDATETIMENOTNULL,VALUEVARCHAR(20),PRIMARYKEY(SNPTIME,ID))ENGINE=InnoDBpartitionbyrange(TO_DAYS(SNPTIME))(PARTITIONp1VALUESLESSTHAN(to_days(‘2009-1-31‘)),PARTITIONp2VALUESLESSTHAN(to_days(‘2009-2-28‘)),PARTITIONp3VAL..
分类:数据库技术   时间:2015-06-18 20:15:38    收藏:0  评论:0  赞:0  阅读:261
MYSQL Out of resources when opening file './xxx.MYD' (Errcode: 24) 解决
出现Outofresourceswhenopeningfile‘./xxx.MYD‘(Errcode: 24)错误是因为打开的文件数超过了my.cnf的--open-files-limit。open-files-limit选项无法在mysql命令行直接修改,必须在my.cnf中设定,最大值是65536。重新启动mysqld,mysql>showvariableslike ‘open%‘;+----------..
分类:数据库技术   时间:2015-06-18 20:15:18    收藏:0  评论:0  赞:0  阅读:293
MySQL数据库主从同步实战操作
mysql
分类:数据库技术   时间:2015-06-18 20:14:48    收藏:0  评论:0  赞:0  阅读:235
mysqldump版本引起的问题
mysqldump5.1版本mysqldump--versionmysqldumpVer10.13Distrib5.1.73,forredhat-linux-gnu(x86_64)mysqldump--help|grepgtid没有内容mysql5.6版本mysqldump--versionmysqldumpVer10.13Distrib5.6.25,forLinux(x86_64)mysqldump--help|grepgtid--set-gtid-purged[=name]用mysqld..
分类:数据库技术   时间:2015-06-18 20:14:38    收藏:0  评论:0  赞:0  阅读:734
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!