1、创建UDF函数 假定有两个均以,作为分隔符字符串序列@m和@n。判断@m和@n是否有交集,我们可以创建如下的函数来实现,返回0为无交集,返回1为有交集。 /****** Object: UserDefinedFunction [dbo].[Func_IsInner] Script Date: 2 ...
分类:
数据库 时间:
2021-02-23 14:33:46
阅读次数:
0
暴力删除nodejs导致无法重新安装 Later version of Node.js is already installed. Setup will now exit 1、电脑全局搜索nodejs,保证node相关不存在 2、修改“环境变量”: 删除path值中的node及npm 3、重启 4、 ...
分类:
Web程序 时间:
2021-02-20 12:05:48
阅读次数:
0
1. 执行cmd 2. cmd命令模式下输入netstat -ano,然后找到占用端口的那个进程 如下图.. 3.PID号为1488的进程占用着8080端口,打开任务管理器查看详细信息,查找PID号为1476进程,点击结束任务即可,如下图所示( 也可以直接 使用命令taskkill /pid 984 ...
分类:
编程语言 时间:
2021-02-19 13:47:32
阅读次数:
0
一、操作数据库:CRUD 1.C(create):创建 创建数据库: create database 数据库名称; 创建数据库,判断不存在,再创建: create database if not exists 数据库名称; 创建数据库,并指定字符集 create database 数据库名称 cha ...
分类:
数据库 时间:
2021-02-19 13:44:21
阅读次数:
0
删除emp_no重复的记录,只保留最小的id对应的记录。CREATE TABLE IF NOT EXISTS titles_test (id int(11) not null primary key,emp_no int(11) NOT NULL,title varchar(50) NOT NULL ...
分类:
数据库 时间:
2021-02-17 14:01:39
阅读次数:
0
(利用靶机演示) 第一步:判断注入点 '报错存在注入的可能,and 1=1 、and 1=2一个返回正常,一个不正常,绝大多数存在注入 示例: 加',返回异常: 加 and 1=1,返回正常: 加 and 1=2,返回异常: 第二步:猜解表名 判断是否存在admin表,and exists(sele ...
分类:
其他好文 时间:
2021-02-16 12:42:04
阅读次数:
0
Most people have already heard about the new “async” and “await” functionality coming in Visual Studio 11. This is Yet Another Introductory Post. Firs ...
分类:
其他好文 时间:
2021-02-15 12:36:36
阅读次数:
0
一、导入表结构 USE `qskj_03`; /*Table structure for table `test` */ DROP TABLE IF EXISTS `test`; CREATE TABLE `test` ( `id` int(10) NOT NULL AUTO_INCREMENT C ...
分类:
数据库 时间:
2021-02-15 12:33:14
阅读次数:
0
案例:模拟文件上传功能(字节流读写文件) 需求: 使用控制台模拟实际开发中上传用户头像功能。 分析: A. 在控制台录入用户头像的路径 B. 解析路径字符串中文件名是否合法: 后缀名为:.jpg .png .bmp C. 判断该路径表示的File对象是否存在,是否为文件 file.exists(); ...
分类:
Web程序 时间:
2021-02-10 13:01:46
阅读次数:
0
package com.jiang.io; import java.io.*; /** * @author JQC * @date 2021/2/8-23:21 */ public class FilesCopyTest { public static void main(String[] args ...
分类:
其他好文 时间:
2021-02-09 12:31:52
阅读次数:
0