Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/81.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SQL加密列语法错误_Sql_Sql Server_Database_Encryption - Fatal编程技术网

SQL加密列语法错误

SQL加密列语法错误,sql,sql-server,database,encryption,Sql,Sql Server,Database,Encryption,我试过这个例子 但在这方面: CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'SQLAuthority' 我得到了这个错误: 分析查询时出错。[令牌行编号=1,令牌行偏移量=8,错误令牌=主令牌] 您是说您尝试过了吗?请尝试使用强密码、小写、大写、数字和特殊字符。我强烈建议不要使用示例密码。@MuhammedAli Like w0R&?从错误消息判断,您可能正在使用SQL Server Compact。您的产品可能不支持创建主密钥。

我试过这个例子

但在这方面:

CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'SQLAuthority'
我得到了这个错误:

分析查询时出错。[令牌行编号=1,令牌行偏移量=8,错误令牌=主令牌]


您是说您尝试过了吗?请尝试使用强密码、小写、大写、数字和特殊字符。我强烈建议不要使用示例密码。@MuhammedAli Like w0R&?从错误消息判断,您可能正在使用SQL Server Compact。您的产品可能不支持创建主密钥。