需求:windows系统上 根据进程名称查询进程,如果有进程就输出 up ,没有就输出 donw. ::Final interpretation is owned by chenglee ::@echo off<nul 3>nul @echo off&title Checking For SystemProcess, Thankyou... :2 color 0E wmic process get name | findStr /i "chat*" ::if n…
意:本篇文章仅适用于mysql和postgre这两种数据库 1.查询数据库中所有表名及对应表的详细信息 select * from INFORMATION_SCHEMA.tables 2.根据指定名称查询表名(也可模糊查询,可查询表的详细信息) select * from INFORMATION_SCHEMA.tables where table_name = 'eguid'; select * from INFORMATION_SCHEMA.tables where table_name l…
1 Entities data=new Entities(); var list = from p in data.Record where p.CreateTime >= d && p.CreateTime < DateTime.Today select new { ID = p.ID, Name = p.Name, UserID=p.UserID }; foreach (var item in list) { var record = data.Record.FirstOr…