码迷,mamicode.com
首页 >  
搜索关键字:cursors    ( 86个结果
python-db配置文件
#!/usr/bin/python27 # -*- encoding: utf-8 -*- import sys import ConfigParser import MySQLdb import MySQLdb.cursors cf = ConfigParser.ConfigParser() cf... ...
分类:数据库   时间:2019-09-26 23:52:06    阅读次数:192
oracle 安装后参数调整
关闭11g 新特性 开归档 oracle 11g安装完成需修改:1、关闭审计alter system set audit_trail=none scope=spfile sid='*'; 防止ORA-03113: 通信通道的文件结尾 错误。 alter system set open_cursors ...
分类:数据库   时间:2019-09-21 17:35:13    阅读次数:203
sqlalchemy 使用pymysql连接mysql 1366错误
一、错误情况 mysql 5.7.2 \python35\lib\site-packages\pymysql\cursors.py:166: Warning: (1366, "Incorrect string value: '\\xD6\\xD0\\xB9\\xFA\\xB1\\xEA...' fo ...
分类:数据库   时间:2019-01-24 01:19:39    阅读次数:360
多表查询,笛卡尔积 ,可视化工具,pymysql查询与增删改 ,sql 注水
sql 注水import pymysqlconn=pymysql.connect(host='localhost',port=3306, db='db1',user='user',password='root')cur=conn.cursor(cursors.DictCursor)name=inpu ...
分类:数据库   时间:2019-01-11 21:15:31    阅读次数:202
更改win系统的鼠标样式
一、找一个你心仪的鼠标样式(.cur文件),并放到 C:\Windows\Cursors 目录下 二、打开,控制面板 -> 硬件和声音 -> 鼠标 ,如下图: 三、浏览鼠标目录,找到你存放的鼠标样式 设置 即可。 ...
分类:Windows程序   时间:2018-11-22 14:38:28    阅读次数:280
pymysql的使用
PYMYSQLimportpymysqlclient=pymysql.connect(ip=‘127.0.0.1‘,#IPport=3306,#端口user=‘root‘,#账号password=‘‘,#密码database=‘t1‘,#库charset=‘utf8‘#字符编码)cursor=client.cursor(pymysql.cursors.DictCursor)#拿到游标,将拿到的信息
分类:数据库   时间:2018-08-29 15:59:24    阅读次数:669
[20180822]session_cached_cursors与子游标堆0.txt
[20180822]session_cached_cursors与子游标堆0.txt--//前几天测试刷新共享池与父子游标的问题,--//链接: http://blog.itpub.net/267265/viewspace-2200066/=>[20180813]刷新共享池与父子游标.txt--// ...
分类:系统相关   时间:2018-08-22 20:40:57    阅读次数:196
DBUtil 配置数据库连接池
from DB_Demo import db_conn import pymysql # 创建打开连接池的函数 def open_conn(): conn = db_conn.POOL.connection() cur = conn.cursor(pymysql.cursors.DictCursor ...
分类:数据库   时间:2018-08-21 20:17:13    阅读次数:284
控制鼠标状态
在c#程序中,当程序执行某功能时,可以将鼠标设置成忙碌状态。 private void Ddocilck_Click(object sender, EventArgs e) { this.Cursor = System.Windows.Forms.Cursors.WaitCursor;//鼠标为忙碌 ...
分类:其他好文   时间:2018-08-16 19:52:18    阅读次数:125
python 连接数据库
import MySQLdbimport MySQLdb.cursors#sql语句sql = "select * from table"#连接数据库db = MySQLdb.connect(host="localhost", user="root", passwd="root1234", char ...
分类:数据库   时间:2018-08-03 14:20:04    阅读次数:132
86条   上一页 1 2 3 4 5 ... 9 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!