码迷,mamicode.com
首页 >  
搜索关键字:thinkphp where    ( 24030个结果
SQL Server常用处理
1 数据库不能分离(分离时,老提示占用) --查询数据库得连接Idselect spid from sysprocesses where dbid=db_id('test') kill 61 --这个是上边语句的查询结果 --分离数据库 use master go exec sp_detach_db ...
分类:数据库   时间:2021-06-13 09:30:56    阅读次数:0
thinkphp写接口返回固定的形式方法
function jsons($code, $message = '', $data = array()) { if(!is_numeric($code)) { return ''; } $result = array( 'code' => $code, 'message' => urlencode ...
分类:Web程序   时间:2021-06-13 09:22:24    阅读次数:0
LINQ与Lambda
LINQ提供很多集合的扩展方法,配合Lambda能简化数据处理。 LINQ常用的扩展方法大部分都在System.Linq命名空间中,对IEnumerable<T>扩展,提供了大量类似Where扩展方法。 实现IEnumerable接口类:数组、List、Dictionary等 LINQ常用的扩展方法 ...
分类:其他好文   时间:2021-06-13 09:21:19    阅读次数:0
ORACLE不能导出空表的解决方法
ORACLE不能导出空表的解决方法1.查找当前用户所有空表,并构建命令语句,为了生成空表集合。-- 查找所有空表SQL select table_name from user_tables where NUM_ROWS=0;-- 构造所有空表的命令语句select'alter table ' ||  ...
分类:数据库   时间:2021-06-11 18:41:55    阅读次数:0
查询优化手段之临时表
create temporary table temp_t like t1; alter table temp_t add index(b); insert into temp_t select * from t2 where b>=1 and b<=2000; select * from t1 j ...
分类:其他好文   时间:2021-06-10 18:34:39    阅读次数:0
GDB debug
来自https://www.tutorialspoint.com/gnu_debugger/gdb_quick_guide.htm GDB - Debugging Symbols A Debugging Symbol Table maps instructions in the compiled b ...
分类:数据库   时间:2021-06-09 10:29:22    阅读次数:0
软件测试相关SQL语句
首先,先熟悉书写SQL查询语句的优先顺序:(1) SELECT(2) FROM(3) WHERE(4) GROUP BY(5) HAVING(6) ORDER BY(7) LIMIT 开始~~~~~~~1.创建数据库CREATE DATABASE prc 2.创建表tb_name,tb_stu下面是 ...
分类:数据库   时间:2021-06-08 23:33:41    阅读次数:0
THINKPHP_(7)_THINKPHP6的controller模型接收前端页面通过ajax返回的数据,会因为一个div而失败
这个随笔比较短。 同样的前端页面代码,修改了一下,后端模型接收不到数据。 利用beyond compare软件比对两个前端文件, 发现多了一个</div>标签。 多了一个</div>标签,并不影响页面的显示和解析。但是影响了Thinkphp在模型端用request()接收前端POST方式和ajax方 ...
分类:Web程序   时间:2021-06-07 21:12:51    阅读次数:0
pymysql使用模板
db = pymysql.connect(host="localhost", port=3306, user="root", passwd="xxx", db="stu_info")cursor = db.cursor(cursor=pymysql.cursors.DictCursor)cursor ...
分类:数据库   时间:2021-06-07 20:09:12    阅读次数:0
PowerShell查找程序路径
在 linux 下面,查找路径一般是 where ,但是同样的命令在PS下面是不行的。 在PS下有个查看别名的命令:Get-Alias ,看一下where是啥? Alias where -> Where-Object 原来 where 是 Where-Object 这个命令的别名,并不是查看路径用的 ...
分类:系统相关   时间:2021-06-05 18:16:02    阅读次数:0
24030条   上一页 1 ... 3 4 5 6 7 ... 2403 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!