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
Environment (local platform and source/target platforms): Tested on SQL MI / SQL 2022
Issue: When cx try to publish a DACPAC file to an existing databse (Azure SQL MI) that has bind rule with a user defined data type they will get error :SQL72018: SqlRule could not be imported but one or more of these objects exist in your source.
Steps to Reproduce:
Create a database [DBOAD01]
Run the below script 1
Deploy the attached sample dacpac using the NET Core version (ICM: 377020710 has the sample dacpac).
Did this occur in prior versions? If not - which version(s) did it work in?
(DacFx/SqlPackage/SSMS/Azure Data Studio)
The text was updated successfully, but these errors were encountered:
Script -1: to create user defined data types and adding bind rule.
USE [DBOAD01]
GO
CREATE TYPE [dbo].[u_id] FROM [bigint] NOT NULL
GO
CREATE TYPE [dbo].[u_upd_dt] FROM [datetime] NOT NULL
GO
CREATE TYPE [dbo].[u_web_lgn_cd] FROM [bigint] NOT NULL
GO
CREATE RULE [dbo].[r_acr_cyc_mo_qt]
AS @range>100;
GO
EXEC sys.sp_bindrule @rulename=N'[dbo].[r_acr_cyc_mo_qt]', @OBJName=N'[dbo].[u_id]'
ssreerama
changed the title
Publish DACPAC file failed due to bind rule with a user-defined data type in NET Core version
Publish DACPAC file failed due to bind rule with a user-defined data type
Mar 25, 2023
Steps to Reproduce:
script 1
Did this occur in prior versions? If not - which version(s) did it work in?
(DacFx/SqlPackage/SSMS/Azure Data Studio)
The text was updated successfully, but these errors were encountered: