select * from UserInfo 添加存储过程 if OBJECT_ID('P_add') is not nulldrop proc P_addgocreate proc P_add--参数@UserName varchar(100),@UserPwd varchar(100),@Use ...
分类:
其他好文 时间:
2020-09-02 18:13:27
阅读次数:
63
1. 功能说明 有一个测试方法: def test_train(framework): print(framework) assert framework == 'gbm' 希望该方法的framework的值可以通过 pytest的参数传递过来,比如: pytest --framework=deep ...
分类:
其他好文 时间:
2020-08-28 14:43:40
阅读次数:
85
多条件分页: 分页存储过程--判断存储过程是否存在if OBJECT_ID('proc_Page') is not null--删除存储过程drop proc proc_Pagego--创建存储过程create proc proc_Page--参数@ClaId int=0, --班级Id@Sage ...
分类:
数据库 时间:
2020-08-27 13:09:24
阅读次数:
58
如果返回一个 数字或者字符 比较简单,那么多行多列怎么办呢,分为以下几种情况 【东西很多,这里只做简单列举】 返回多行单列 又分为几种方式 1. return next,用在 for 循环中 CREATE OR REPLACE FUNCTION funcname ( in_id integer) R ...
分类:
其他好文 时间:
2020-08-25 15:49:22
阅读次数:
48
txt文件 生成并下载txt文件: @app.route('/download', methods=['GET']) def download(): content = "long text" response = make_response(content) response.headers["C ...
分类:
编程语言 时间:
2020-08-19 19:59:30
阅读次数:
79
错误信息: [-] ***rting the Metasploit framework console...| [-] * WARNING: No database support: No database YAML file 错误原因:第一次启动和使用Matasploit框架的时候没有经行MSF数 ...
分类:
Web程序 时间:
2020-08-19 19:50:50
阅读次数:
75
报错信息: java.lang.IllegalArgumentException: no server available at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:354) ~[nacos- ...
分类:
编程语言 时间:
2020-08-18 13:26:01
阅读次数:
202
from app01 import models from rest_framework import exceptions from rest_framework.authentication import BaseAuthentication # 用drf的认证,写一个类 class Login ...
分类:
其他好文 时间:
2020-08-17 17:26:40
阅读次数:
63
参考文章:https://www.jianshu.com/p/81fc2c98774f 放入任意一个可运行的SpringBoot工种中即可,其中DictionaryServiceTest.java依赖本地服务,需要注释 依赖: <dependency> <groupId>org.springfram ...
分类:
编程语言 时间:
2020-08-17 16:56:41
阅读次数:
57
本篇介绍UIImage、UIImageView 元素的常用功能用法。 ...
分类:
移动开发 时间:
2020-08-16 00:01:51
阅读次数:
134