上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: 1.sql server 2008 USE master ALTER DATABASE [KH2020] SET OFFLINE WITH ROLLBACK IMMEDIATE RESTORE database [KH2020] from disk='D:\客户数据\HHerp_lgyy202108 阅读全文
posted @ 2022-01-17 10:59 乌柒柒 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 脚本 @echo off&setlocal enabledelayedexpansion for /F "tokens=* delims= " %%i in ('sc query state^=inactive^|findstr 代理^|findstr SQL') do ( echo %%i set 阅读全文
posted @ 2022-01-11 18:44 乌柒柒 阅读(696) 评论(0) 推荐(0) 编辑
摘要: var base64 = ""; base64 = base64.Replace("data:image/png;base64,", "").Replace("data:image/jgp;base64,", "").Replace("data:image/jpg;base64,", "").Rep 阅读全文
posted @ 2022-01-06 14:28 乌柒柒 阅读(1733) 评论(0) 推荐(0) 编辑
摘要: 这个真的很坑,调用webapi一直崩 参考:https://www.cnblogs.com/firstcsharp/p/9445378.html 阅读全文
posted @ 2022-01-05 17:37 乌柒柒 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 本地日志 配置文件postgresql.conf # # ERROR REPORTING AND LOGGING # # - Where to Log - #log_destination = 'stderr' # Valid values are combinations of # stderr, 阅读全文
posted @ 2021-12-31 15:09 乌柒柒 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 编辑postgresql.conf文件,此文件位于postegers数据库的安装路径的data目录下,修改shared_preload_libraries这个参数,默认情况下,这个参数是注释的,按照如下进行修改: Linux中 shared_preload_libraries = '$libdir/ 阅读全文
posted @ 2021-12-30 17:34 乌柒柒 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 1.查询全部数据库 select * from sys.databases --sql serverselect * from pg_database --pgsql 2.物理文件 SQL SERVER 数据库物理文件保存在 *.mdf ,日志在 *.ldf PostgreSQL 物理文件保存在ba 阅读全文
posted @ 2021-12-29 17:59 乌柒柒 阅读(426) 评论(0) 推荐(0) 编辑
摘要: CREATE FUNCTION [dbo].[f_ClearZero] ( @inValue VARCHAR(50) ) RETURNS VARCHAR(50) AS BEGIN DECLARE @returnValue VARCHAR(20) IF ( @inValue = '' ) SET @r 阅读全文
posted @ 2021-12-27 20:51 乌柒柒 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 格式 CREATE FUNCTION function_name(@parameter_name parameter_data_type) --CREATE FUNCTION 函数名称(@参数名 参数的数据类型) RETURNS date_type --返回返回值的数据类型 [WITH ENCRYP 阅读全文
posted @ 2021-12-27 20:50 乌柒柒 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 1.自增主键 create table test( id int generated always as identity (cache 100 START WITH 1 INCREMENT BY 1) primary key , name varchar(100) ) CREATE TABLE G 阅读全文
posted @ 2021-12-27 17:17 乌柒柒 阅读(66) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页