We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi - I just noticed Aggregate functions are not being scripted when I run the script command. Is there any specific way to do this?
The text was updated successfully, but these errors were encountered:
The first thing to check, is does your aggregate function appear in the output of https://github.com/sethreno/schemazen/blob/master/Library/Models/Database.cs#L553-L571?
Sorry, something went wrong.
Hi - It doesn't show in the Query above. It does exist in the sys.objects table though (but not in sys.sql_modules).
One thing to add is both are CLR Aggregate functions.
Probably it will make sense for schemazen to have a separate model for aggregates. The syntax for reference is https://learn.microsoft.com/en-us/sql/t-sql/statements/create-aggregate-transact-sql?view=sql-server-ver16#syntax. There's an example C# project linked to at the bottom of the page which can be used for easy testing. Schemazen already supports CLR assemblies, so hopefully not too hard to add... https://github.com/sethreno/schemazen/blob/master/Library/Models/Assembly.cs
No branches or pull requests
Hi - I just noticed Aggregate functions are not being scripted when I run the script command. Is there any specific way to do this?
The text was updated successfully, but these errors were encountered: