Skip to content

backuprestores3.ipynb - EXIST WHERE clause does not match CREATE for certificate. #8

@DavidMMaxwell

Description

@DavidMMaxwell

Exist check uses IP without port in the WHERE clause, but creates the cert with the port number in the name.

Current:

USE MASTER
GO
IF EXISTS (SELECT * FROM sys.credentials WHERE name = 's3:///backups')
DROP CREDENTIAL [s3://:9000/backups];
GO

Should be:

USE MASTER
GO
IF EXISTS (SELECT * FROM sys.credentials WHERE name = 's3://:9000/backups')
DROP CREDENTIAL [s3://:9000/backups];
GO

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions