Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying Stored Procedures via a script #29

Closed
doug-saganworks opened this issue Mar 2, 2021 · 1 comment
Closed

Deploying Stored Procedures via a script #29

doug-saganworks opened this issue Mar 2, 2021 · 1 comment

Comments

@doug-saganworks
Copy link

When deploying stored procedures via a SQL script, the Script Generator puts the SQL used to create the Stored Procedure inside of a SQL IF BEGIN/END block. The issue with this is that this causes an error in SQL server in that you can't create/update a stored procedure inside of a IF block.

@pekspro
Copy link
Owner

pekspro commented Mar 3, 2021

This repository is just a wrapper for dotnet ef that is generating the migration script. So, I think it is better if you comment this on: https://github.com/dotnet/efcore. There are some issues already that might be related:

dotnet/efcore#7681
dotnet/efcore#22616
dotnet/efcore#22613

@pekspro pekspro closed this as completed Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants