Skip to content

Conversation

@flarestudiopl
Copy link

@flarestudiopl flarestudiopl commented Nov 21, 2024

It is allowed by SqlServer to have schema with a dot in name. In such case both IDENT_SEED and CHECKIDENT won't recognize the table correctly, eg:

select IDENT_SEED('part.one.TableName') -- returns null
select IDENT_SEED('[part.one].[TableName]') -- returns proper value

This change adds QUOTENAME in required places.
Usage of IDENT_SEED can be also replaced by ic.seed_value.

@jbogard jbogard merged commit 561dccc into jbogard:master Mar 7, 2025
1 check passed
@DerMagereStudent
Copy link

DerMagereStudent commented Mar 20, 2025

@jbogard When is this published? Latest version on nuget is pretty old

@jbogard
Copy link
Owner

jbogard commented Mar 20, 2025

Every time someone asks me this, I push the next release back 6 months /s

The build is broken and I can't fix it locally yet on my ARM Mac. And since OSS isn't my day job or my night hobby it might be a bit.

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

Successfully merging this pull request may close these issues.

4 participants