我有 Windows Server 2016 和 SQL Server 2017,发现 Windows 日志应用程序充满了登录失败消息(如下):
用户“sa”登录失败。原因:密码与提供的登录密码不匹配。[客户: ****]
客户端的IP地址多种多样。我在 SQL Server 中没有任何维护计划
有什么问题?
我有一个 MSSQL Server 2008 数据库。
我的数据库中有一些表,如下所示:
table1, table2, table3, ....
每个表都有一个 NVARCHAR(50) 字段 ( Name
)
现在,我想更改每个 sql 查询在该字段中插入的字符串,
例如:
我们有想要在Name
字段中插入“示例文本”的查询。
我想使用 SQL 触发器将其更改为“示例名称”
是否可以使用 sql 触发器?如果是这样,如何?我对 T-SQL 很幼稚
有没有更好的方法可以用 SQL Server 做到这一点?
我想在安静模式下安装 SQL Server Express 2008。
我知道我们可以使用/ConfigurationFile="ConfigurationFile.INI"
参数从配置文件安装 SQL Server。
以下是我的Configuration.ini
文件:
;SQLSERVER2008 Configuration File
[SQLSERVER2008]
; Specify the Instance ID for the SQL Server features you have specified. SQL Server directory structure, registry structure, and service names will reflect the instance ID of the SQL Server instance.
INSTANCEID="SQLEXPRESS"
; Specifies a Setup work flow, like INSTALL, UNINSTALL, or UPGRADE. This is a required parameter.
ACTION="Install"
;License Terms
IACCEPTSQLSERVERLICENSETERMS = "True"
; Specifies features to install, uninstall, or upgrade. …
Run Code Online (Sandbox Code Playgroud)