码迷,mamicode.com
首页 >  
搜索关键字:0 rows    ( 2525个结果
PDO事务控制
PDO操作MySql的方式中。$pdo->exec($sql):返回受影响的条数 MySQLi的方式中。还需要调用 affected_rows();才可以获取受影响的条数 ...
分类:其他好文   时间:2018-12-21 13:15:35    阅读次数:202
sql 循环语句几种方式(变量循环,游标循环,事务)
--第一 declare @orderNum varchar(255) create table #ttableName(id int identity(1,1),Orders varchar(255)) declare @n int,@rows int insert #ttableName(ord ...
分类:数据库   时间:2018-12-13 22:39:48    阅读次数:285
oracle查表技巧
查每张表中有多少条记录 SELECT table_name,num_rows FROM user_tables order by num_rows desc; https://www.cnblogs.com/xzhg/p/6473011.html 查一张表中不同时间段分别有多少条记录: select ...
分类:数据库   时间:2018-12-13 20:20:02    阅读次数:191
DATETIME与TIMESTAMP
DATETIME与TIMESTAMP都能表达一个完整的日期格式:YYYY-MM-DD HH:MM:SS[.fraction] eg: mysql> create table test(id int,hiredate timestamp); Query OK, 0 rows affected (0.0 ...
分类:其他好文   时间:2018-12-13 12:14:58    阅读次数:148
回归模型与房价预测
dict_keys(['data', 'target', 'feature_names', 'DESCR']) 506 rows × 13 columns [-0.12316272] 30.97867776261804 Out[51]: array([[1.00000e+00, 6.52000e+0 ...
分类:其他好文   时间:2018-12-10 14:15:16    阅读次数:150
sqlserver查询数据的所有表名和行数
//查询所有表明select name from sysobjects where xtype='u' select * from sys.tables//查询数据库中所有的表名及行数 SELECT a.name, b.rows FROM sysobjects AS a INNER JOIN sys ...
分类:数据库   时间:2018-12-09 16:27:03    阅读次数:221
excel 用VBA将所有单元格内容全部转换为文本
Sub 将所有列全部转换为文本() 'Cells(Rows.Count, 1).End(xlUp).Row 获取第一列最后一个非空单元格的行号s = Cells(1, Columns.Count).End(xlToLeft).Column '获取第一行最后一个非空单元格的列号For i = 1 To ...
分类:编程语言   时间:2018-12-06 14:34:13    阅读次数:695
#Leetcode# 6. ZigZag Conversion
https://leetcode.com/problems/zigzag-conversion/ The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you ...
分类:其他好文   时间:2018-12-05 14:26:23    阅读次数:160
merge into issue
ORA-30926: unable to get a stable set of rows in the source tables 一.经检查,这个错误是由于数据来源表(即语句中,using后面的from关键字后面的表)存在数据重复造成的。在实际项目研发中,我们一般不能随便改动数据表的记录,那么如 ...
分类:其他好文   时间:2018-12-03 12:01:02    阅读次数:172
Oracle 11g导出空表、少表的解决办法
执行下面语句: begin for obj in (select 'alter table '||table_name||' allocate extent' objsql from user_tables where num_rows=0) loop execute immediate obj.o ...
分类:数据库   时间:2018-12-02 12:30:36    阅读次数:231
2525条   上一页 1 ... 40 41 42 43 44 ... 253 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!