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
@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.

github-merge-queue bot pushed a commit to DFE-Digital/teaching-record-system that referenced this pull request Jan 29, 2026
Updated [Respawn](https://github.com/jbogard/Respawn) from 6.2.1 to
7.0.0.

<details>
<summary>Release notes</summary>

_Sourced from [Respawn's
releases](https://github.com/jbogard/Respawn/releases)._

## 7.0.0

## What's Changed
* Bump Npgsql from 6.0.2 to 8.0.3 in /Respawn.DatabaseTests by
@​dependabot[bot] in jbogard/Respawn#138
* Update Microsoft.Data.SqlClient to 5.1.4 to address CVE-2023-36414 by
@​jellebuitenhuisis in jbogard/Respawn#142
* Add support for custom delete statements by @​cervengoc in
jbogard/Respawn#137
* Add ConfigureAwait(false) to async method calls, to prevent potential…
by @​Insire in jbogard/Respawn#136
* support database names containing special characters by @​alexmo16 in
jbogard/Respawn#144
* SqlServer reseed fix for objects with special character in name by
@​flarestudiopl in jbogard/Respawn#149
* Add IBM DB2 support by @​MD-V in
jbogard/Respawn#145
* Remove the `Microsoft.Data.SqlClient` dependency by @​0xced in
jbogard/Respawn#153
* Infer the DbAdapter from the DbConnection by @​0xced in
jbogard/Respawn#151
* Added an IDbAdapter for Snowflake by @​SaiSDET in
jbogard/Respawn#154
* Fix FormatDeleteStatement being ignored by @​0xced in
jbogard/Respawn#155
* Add Sqlite support with SqliteDbAdapter implementation by
@​snowfrogdev in jbogard/Respawn#156
* Fixing build by @​jbogard in
jbogard/Respawn#160
* Removing docker compose; .NET 10 tests by @​jbogard in
jbogard/Respawn#161

## New Contributors
* @​jellebuitenhuisis made their first contribution in
jbogard/Respawn#142
* @​cervengoc made their first contribution in
jbogard/Respawn#137
* @​Insire made their first contribution in
jbogard/Respawn#136
* @​alexmo16 made their first contribution in
jbogard/Respawn#144
* @​flarestudiopl made their first contribution in
jbogard/Respawn#149
* @​MD-V made their first contribution in
jbogard/Respawn#145
* @​0xced made their first contribution in
jbogard/Respawn#153
* @​SaiSDET made their first contribution in
jbogard/Respawn#154
* @​snowfrogdev made their first contribution in
jbogard/Respawn#156

**Full Changelog**:
jbogard/Respawn@v6.2.1...v7.0.0

Commits viewable in [compare
view](jbogard/Respawn@v6.2.1...v7.0.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Respawn&package-manager=nuget&previous-version=6.2.1&new-version=7.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Gunn <james@gunn.io>
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