OrderParam辅助类 如有雷同敬请谅解! ...
分类:
数据库技术 时间:
2016-09-20 13:52:13
收藏:
0 评论:
0 赞:
0 阅读:
622
1.备份工具mysqldump 客户端和服务器端都能用select outfile 只能写到服务器端 2.按表单位备份 a.单个表备份 小插曲:windows操作系统的下反斜杠会被忽略,文件直接创建到D盘的根目录了。用正斜杆才能创建到对应的目录,如下: 这样只能将数据导出到服务器端,如何将数据写入客 ...
分类:
数据库技术 时间:
2016-09-20 13:50:27
收藏:
0 评论:
0 赞:
0 阅读:
213
%a - Remote IP address %A - Local IP address %b - Bytes sent, excluding HTTP headers, or '-' if no bytes were sent %B - Bytes sent, excluding HTTP hea ...
分类:
数据库技术 时间:
2016-09-20 13:47:57
收藏:
0 评论:
0 赞:
0 阅读:
350
set echo off prompt prompt prompt call_compile.sql &1 &2 &3 &4 &5 prompt set echo off pagesize 0 feedback off verify off serveroutput on size 1000000 ...
分类:
数据库技术 时间:
2016-09-20 13:47:47
收藏:
0 评论:
0 赞:
0 阅读:
334
以前从来没有接触过replace into这个语法,但是却看到很多人都在使用这个语法,并且应用在很多生产环境中,于是我也去学习了一下repalce into的用法。 关于replace 一句话:正常情况下表中有PRIMARY KEY或UNIQUE索引,新数据会替换老的数据。没有老数据则insert该 ...
分类:
数据库技术 时间:
2016-09-20 13:44:43
收藏:
0 评论:
0 赞:
0 阅读:
207
分别填写下面三行代码解决问题 CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' ENGINE=InnoDB DEFAULT CHARSET=utf8 $conn->query("set NAMES utf8"); ...
分类:
数据库技术 时间:
2016-09-20 13:42:58
收藏:
0 评论:
0 赞:
0 阅读:
251
一、mysql与mysqli的概念相关: 1、mysql与mysqli都是php方面的函数集,与mysql数据库关联不大。 2、在php5版本之前,一般是用php的mysql函数去驱动mysql数据库的,比如mysql_query()的函数,属于面向过程3、在php5版本以后,增加了mysqli的函 ...
分类:
数据库技术 时间:
2016-09-20 13:42:27
收藏:
0 评论:
0 赞:
0 阅读:
232
set echo off prompt prompt prompt call_grant_dml.sql &1 prompt set echo off pagesize 0 feedback off verify off serveroutput on size 1000000 define v_i ...
分类:
数据库技术 时间:
2016-09-20 13:38:09
收藏:
0 评论:
0 赞:
0 阅读:
194
OperationalError: (2002, “Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)”) python MySQLdb这个模块是独立的,有自己独立的socket,解 ...
分类:
数据库技术 时间:
2016-09-20 13:37:40
收藏:
0 评论:
0 赞:
0 阅读:
301
1 卸载系统自带的msyql包 rpm -qa|grep mysql rpm -e --nodeps mysql-server-5.1.71-1.el6.x86_64 --强制卸载mysql安装程序rpm -e mysql-server-5.1.71-1.el6.x86_64 -- 有依赖关系,无法 ...
分类:
数据库技术 时间:
2016-09-20 13:33:58
收藏:
0 评论:
0 赞:
0 阅读:
344
set echo off feedback off verify off pagesize 0 linesize 120 define v_grantee = &1 define v_grant_exec_command_file = ./log/grant_exec_&v_grantee..sql ...
分类:
数据库技术 时间:
2016-09-20 13:33:19
收藏:
0 评论:
0 赞:
0 阅读:
424
promptprompt prompt call_create_syn.sql &1 &2 &3 &4 &5 &6prompt set echo off pagesize 0 feedback off verify off serveroutput on size 1000000 define v_ ...
分类:
数据库技术 时间:
2016-09-20 13:33:00
收藏:
0 评论:
0 赞:
0 阅读:
217
问题描述: github / sourcetree下载的Demo,很多时候使用到CocoaPods,有的时候因为依赖关系或者版本问题不能编译运行。出现例如The sandbox is not sync with the Podfile.lock问题时候,如下所示 解决方案 关闭当前的工作空间,删除掉 ...
分类:
数据库技术 时间:
2016-09-20 13:28:59
收藏:
0 评论:
0 赞:
0 阅读:
322
...
分类:
数据库技术 时间:
2016-09-20 13:28:12
收藏:
0 评论:
0 赞:
0 阅读:
152
SQLiteOpenHeleperpublic class MySQLiteOpenHelper extends SQLiteOpenHelper { private static final String DB_NAME = "new.db"; private static final int V ...
分类:
数据库技术 时间:
2016-09-20 13:26:55
收藏:
0 评论:
0 赞:
0 阅读:
252
PostgreSQL的常用时间函数使用整理如下: 一、获取系统时间函数 1.1 获取当前完整时间 select now(); david=# select now(); now 2013-04-12 15:39:40.399711+08 (1 row) david=# current_timesta ...
分类:
数据库技术 时间:
2016-09-20 12:17:24
收藏:
0 评论:
0 赞:
0 阅读:
213
BACKUP DATABASE [POS_YiZhuang]TODISK = N'C:\数据库\POS_YiZhuang2016-09-20-3.bak'WITHNAME = N'POS_YiZhuang - 备份',NOFORMAT, NOINIT, SKIP,STATS = 5 --POS_Yi ...
分类:
数据库技术 时间:
2016-09-20 12:15:19
收藏:
0 评论:
0 赞:
0 阅读:
199
原文:ADO,OLEDB,ODBC,DAO的区别 ODBC(Open Database Connectivity,开放数据库互连) 1992年,微软公司开放服务结构(WOSA,Windows Open Services Architecture)中有关数据库的一个组成部分,它建立了一组规范,并提供了 ...
分类:
数据库技术 时间:
2016-09-20 12:14:50
收藏:
0 评论:
0 赞:
0 阅读:
272
1.模糊查询: select * from 表名 where 查询字段 like '%biao_' %通配符--匹配任意字符 _通配符--匹配单个字符 2.字符串的连接(||): select 字段1 || ',' || 字段2 别名 from 表名 输出: 字段1,字段2 3.查找非空项: sel ...
分类:
数据库技术 时间:
2016-09-20 12:09:43
收藏:
0 评论:
0 赞:
0 阅读:
204
重启mysql提示MySQL server PID file could not be found! Starting MySQL...The server quit without updating PID file (/usr/local/mysql/data/rekfan.pid). 我只能呵 ...
分类:
数据库技术 时间:
2016-09-20 12:08:00
收藏:
0 评论:
0 赞:
0 阅读:
249