腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
Cursor.execute
与
python
、
sql
、
postgresql
因此,我正在尝试使用
cursor.execute
运行sql命令,其中name = data[key]['name'] bdate = data
浏览 2
提问于2017-03-04
得票数 0
回答已采纳
1
回答
如何加快django的delete()?
django
、
performance
使用MyModel.objects.all().delete()可能会占用大量的时间。有没有办法加快这一进程?
浏览 2
提问于2011-01-14
得票数 1
回答已采纳
2
回答
Cursor.execute
不工作
python
、
django
如果我在oracle中使用sqldeveloper输入元组手册,
cursor.execute
(query)将无法在Django中执行。cursor: print(value)
cursor.execute
浏览 2
提问于2018-10-30
得票数 0
1
回答
挂起MySQL更新
python
、
mysql
、
cursor
下面是我的代码,我不明白为什么它不能工作,但它每次挂在这里的最后一行
cursor.execute
(set_lock)
cursor.execute
(get_lock)if(result[0][0]):
cursor.execute
(se
浏览 2
提问于2016-03-31
得票数 1
2
回答
Pyodbc,如何从Server存储过程中获得结果
python
、
sql
、
sql-server
、
stored-procedures
、
pyodbc
database+';UID='+username+';PWD=' + password) cursor = cnxn.cursor()
cursor.execute
浏览 1
提问于2021-07-07
得票数 0
2
回答
MySQL (Python3.6)- SELECT * FROM table -返回行数而不是表
python
、
mysql
import MySQLdb cursor = conn.cursor()
cursor.execute
("use Test;")
cursor.execute
("create table if notexist
浏览 18
提问于2019-05-29
得票数 0
回答已采纳
2
回答
Python将值插入到外键属性(MYSQL)
python
、
mysql
、
database
pymysql.connect(host='localhost',port=3306,user='root',password='admin',db='mydb')
cursor.execute
("INSERT INTO Staff (ID,Name)VALUES (%s,%s)",(1001,"MR Tan"))
cursor.execute
("INSERT INTO Qualificat
浏览 10
提问于2016-08-08
得票数 0
1
回答
绕过python中已知的mysql异常
python
、
mysql-python
host = _host, user = _user,db = _db, passwd = _pass )
cursor.execute
("show tables")
cursor.execute
("drop table" +host = _host, user = _user,db = _db, passwd =
浏览 2
提问于2016-08-11
得票数 1
4
回答
在Python中,如何定义将函数的参数插入到数据库中的表中的函数?
python
、
python-3.x
、
sqlite
、
sql-insert
import sqlite3 cursor = connect.cursor()
cursor.execute
TEXT, puan REAL)")
cursor.execute
, 50) File "C:/Users
浏览 0
提问于2018-10-24
得票数 0
回答已采纳
2
回答
(Python)
cursor.execute
(sql)
python
、
sql
a database with a blank table.""" cursor = db.cursor()
cursor.execute
因此,我认
浏览 4
提问于2016-03-22
得票数 0
回答已采纳
3
回答
Python数据连接mysql需要从表项中显示来自item_id<103的记录
mysql
、
python-3.x
Camera',5)我尝试过 conn = sqlite3.connect('SAMPLE.db') item_description text, item_category text,
cursor.execute
where item_id &
浏览 2
提问于2020-08-21
得票数 1
1
回答
python / mysql -事务/回滚不起作用
python
、
mysql
、
exception
、
transactions
、
rollback
首次在MySQL中使用事务MySQL 5.7.16我已经查看了其他问题/示例,但无法弄清楚为什么下面的代码不能像我预期的那样工作。有人能给我提供正确的解决方案吗? conn.execute("START TRANSACTION")
浏览 1
提问于2017-11-18
得票数 0
1
回答
访问从游标返回的值
python
我正在尝试访问游标返回的值:print competence<fdb.fbcore.Cursor object at0x1051c3cc0> 如何访问
cursor.execute
返回的值?
浏览 2
提问于2016-10-22
得票数 1
2
回答
ValueError:操作参数必须为str (从数据库中删除记录)
python
、
sqlite
= int(input("Enter year group: "))
cursor.execute
self.func(*args)
cursor.execute
浏览 3
提问于2017-03-07
得票数 0
1
回答
Python mysql无法处理参数
python
、
mysql
代码如下:database.commit() sec_rss()
cursor.execute
浏览 1
提问于2021-06-16
得票数 1
2
回答
如何将python变量传递给MS指令?
python
、
sql
、
variables
ip = '10.113.205.55' 当我使用下面的代码时,它可以工作:
cursor.execute
("Select * from tablename where ip like '10.113.205.55
浏览 7
提问于2016-01-28
得票数 0
回答已采纳
1
回答
Python:检索受SQL查询影响的行数
python
、
sqlite
cursor.execute
("SELECT COUNT(*) from ...")但是如何通过DELETE查询检索行数呢?
浏览 0
提问于2015-03-11
得票数 5
回答已采纳
1
回答
Python/MySQL :TypeError()接受2到4个位置参数,但给出了5个
python
、
mysql
in <module>File "C:\Python33\Archive\MySQL-teste12.py", line 196, in inserir data_lcm, preco)
cursor.execute
浏览 1
提问于2013-10-08
得票数 4
回答已采纳
1
回答
Python和Mysql查询问题-结果错误
mysql
、
python-2.7
、
mysql-python
("CREATE DATABASE mydatabase")
cursor.execute
("INSERT INTO words(id, name) VALUES(2, 'bo
浏览 2
提问于2016-04-07
得票数 0
2
回答
插入到mysql python中-不工作
python
、
mysql
i.strftime('%Y-%m-%d')sqql = 'insert into DT (Date, Time) values (%s,%s);'
cursor.execute
浏览 20
提问于2017-02-06
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
python连接mysql,实现增删改查
操作MySQL数据库
Python 3.x 连接数据库
python操作mysql、redis
第三课 上市公司财报表格的建立
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券