Skip to content

Insert into different schema using raw SQL #1357

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

Draft
wants to merge 7 commits into
base: 7-2-stable
Choose a base branch
from

Conversation

aidanharan
Copy link
Contributor

@aidanharan aidanharan commented Aug 8, 2025

Related to #1355

When finding the column information of a table, include the database when calculating the table's object_id. Otherwise the database is assumed to be the connection's default database.

Ref: https://learn.microsoft.com/en-us/sql/t-sql/functions/object-id-transact-sql?view=sql-server-ver17

@chrisortman
Copy link

@aidanharan I think to make an eventually passing test the SQL needs to change to this chrisortman@bfb3cb9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants