摘要:
create table 表 as select * frm 表 where 1=0 不要数据 create table 表 as select * from 表 where 1=1 要数据 阅读全文
摘要:
SELECT * FROM table where create_datetime >= now()-interval 2 day 阅读全文
摘要:
select * into 表名 from (select * from 表名) as tb1 阅读全文
摘要:
GO/****** Object: StoredProcedure [dbo].[UspOutputData] Script Date: 2021/1/28 23:54:06 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGO ALTER PRO 阅读全文
摘要:
///// <summary> ///// Http方式下载文件 ///// </summary> ///// <param name="url">http地址</param> ///// <param name="localfile">本地文件</param> ///// <returns></r 阅读全文
摘要:
修改home 文件夹以及下面的所有文件的所属用户为 web sudo chown -R web home 修改home 文件夹以及下面的所有文件的所属用户组为 web sudo chgrp -R web home 阅读全文
摘要:
输入命令 ps aux | grep redis-server 阅读全文
摘要:
首先看一下nginx的目录 ps -ef | grep nginx 查看nginx配置文件是否正确 找到master地下的sbin目录输入命令 ./nginx -t 重启进入sbin下面输入 ./nginx -s reload 阅读全文
摘要:
using System;using Microsoft.Extensions.Caching.Memory; static readonly MemoryCache Cache = new MemoryCache(new MemoryCacheOptions()); /// <summary> / 阅读全文
摘要:
首先切换项目所在的盘符 例如 E:回车 切换到E盘 然后找到项目API所在的路径 ,不包含api下的控制器 然后输入cd 路径 切换到盘符以后在输入 dotnet run 就可以运行api 阅读全文