You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SET @certpasswordDCB =QUOTENAME(N'$(strPBCertPassword)',N'''');
168
-
EXECUTE(N'CREATE CERTIFICATE _##PDW_PolyBaseAuthorizeSigningCertificate## ENCRYPTION BY PASSWORD = '+ @certpasswordDCB+ N' WITH SUBJECT = ''For signing sp_pdw_polybase_authorize SP'';');
165
+
DECLARE @certPassword nvarchar(max);
166
+
SET @certPassword=QUOTENAME(N'$(strPBCertPassword)',N'''');
167
+
EXECUTE(N'CREATE CERTIFICATE _##PDW_PolyBaseAuthorizeSigningCertificate## ENCRYPTION BY PASSWORD = '+ @certPassword+ N' WITH SUBJECT = ''For signing sp_pdw_polybase_authorize SP'';');
169
168
WAITFOR DELAY '00:00:01';
170
-
EXECUTE(N'ADD SIGNATURE to [sp_pdw_polybase_authorize] BY CERTIFICATE _##PDW_PolyBaseAuthorizeSigningCertificate## WITH PASSWORD='+ @certpasswordDCB+ N';');
169
+
EXECUTE(N'ADD SIGNATURE to [sp_pdw_polybase_authorize] BY CERTIFICATE _##PDW_PolyBaseAuthorizeSigningCertificate## WITH PASSWORD='+ @certPassword+ N';');
171
170
ALTER CERTIFICATE _##PDW_PolyBaseAuthorizeSigningCertificate## REMOVE PRIVATE KEY;
0 commit comments