question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Erase fails when functions depend on each other

See original GitHub issue

Sample 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:closed
  • Created 3 years ago
  • Comments:24 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
johnwrightcommented, Feb 26, 2021

Git history looks good, thanks very much. Sponsorship should be set up now!

1reaction
johnwrightcommented, Feb 22, 2021

Absolutely, especially since we will be using Evolve for the duration of this client project and most likely for others too!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found