MSSQL
文章平均质量分 54
Lucky__K
!!!!!!!!!!!!!!!
展开
-
windows telegraf [agent] Error writing to outputs.influxdb: could not write any address
[outputs.influxdb] When writing to [http://11.114.111.42:8086]: Post http://11.114.111.42:8086/write?consistency=any&db=telegraf: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)[agent] Error wr原创 2020-07-02 11:28:39 · 2641 阅读 · 3 评论 -
MSSQL 数据库邮件配置
http://jingyan.baidu.com/article/b24f6c82c11fd286bfe5da28.html注意事项1. 帐户权限 若要发送数据库邮件,则还必须使用 Management Studio 或 sp_addrolemember 将“SQL Server 代理”服务的启动帐户添加到 msdb 数据库中的 DatabaseMailU转载 2016-05-27 10:37:13 · 1059 阅读 · 0 评论 -
MSSQL查看数据库端口
通过存储过程查看--查询端口号exec sys.sp_readerrorlog 0, 1, 'listening'通过Sql Server配置管理器(SSCM)转载 2016-05-27 10:37:38 · 1774 阅读 · 0 评论 -
SQL Server中配置恢复模式的两种方法
用T-SQL设置恢复模式你可以使用“ALTER DATABASE”命令加“SET RECOVERY”语句来修改数据库的恢复模式。例如,下面的查询语句把“AdventureWorks”数据库的恢复模式设置为完全恢复模式。ALTER DATABASE AdventureWorks SET RECOVERY FULL ;你可以查询“sys.databases”的目录视图,转载 2016-05-27 10:38:02 · 3019 阅读 · 0 评论 -
使用BCP导出导入数据
bcp 实用工具可以在 Microsoft SQL Server 实例和用户指定格式的数据文件间大容量复制数据。 使用 bcp 实用工具可以将大量新行导入 SQL Server 表,或将表数据导出到数据文件。 除非与 queryout 选项一起使用,否则使用该实用工具不需要了解 Transact-SQL 知识。 若要将数据导入表中,必须使用为该表创建的格式文件,或者必须了解表的结构以及对于该表转载 2016-05-27 10:38:31 · 3276 阅读 · 0 评论 -
Sql Server 'Saving changes is not permitted' error Prevent saving changes that require table re-cr
Saving changes is not permitted. The change you have made requires the following table to be dropped and re-created. You have either made changes to a table that can't be recreated or enabled the op原创 2017-06-09 17:11:21 · 584 阅读 · 0 评论