Erase fails when functions depend on each other
See original GitHub issueSample output:
Evolve initialized.
Executing Erase...
Erase failed. Impossible to erase schema dbo. Cannot DROP FUNCTION 'dbo.FpR' because it is being referenced by object 'FpObscure16'. Sql query: DROP FUNCTION [dbo].[FpR] Cannot DROP FUNCTION 'dbo.FpR' because it is being referenced by object 'FpObscure16'.
Erase failed. Impossible to erase schema dbo. Cannot DROP FUNCTION 'dbo.FpR' because it is being referenced by object 'FpObscure16'. Sql query: DROP FUNCTION [dbo].[FpR] Cannot DROP FUNCTION 'dbo.FpR' because it is being referenced by object 'FpObscure16'.
Evolve Tool version: 2.4.0 SQL Server version: Microsoft SQL Server 2019 (RTM) - 15.0.2000.5 (X64) Sep 24 2019 13:48:23 Copyright © 2019 Microsoft Corporation Developer Edition (64-bit) on Windows 10 Home 10.0 <X64> (Build 15063: )
N.B. both functions are defined WITH SCHEMABINDING
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:24 (13 by maintainers)
Top Results From Across the Web
No matching member function for call to 'erase' while ...
std::vector::erase() does not take an index as input. That is what the compiler is complaining about. erase() takes an iterator instead, eg:
Read more >Delete AWS CloudFormation stacks that are stuck in ...
Delete a stack with a dependent object or other dependencies that can't be deleted ... The stack fails because the security group resource...
Read more >Argument-dependent lookup
Argument-dependent lookup, also known as ADL, or Koenig lookup, is the set of rules for looking up the unqualified function names in ...
Read more >Remove or allow a circular reference
Press Ctrl+X to cut the formula, select another cell, and press Ctrl+V to paste it. Tips: At times, you may want to use...
Read more >Erase Apple devices
On the device, erasing (or wiping) obliterates all the keys in effaceable storage and renders all user data cryptographically inaccessible.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Git history looks good, thanks very much. Sponsorship should be set up now!
Absolutely, especially since we will be using Evolve for the duration of this client project and most likely for others too!