Skip to content

MSSQL: Rename table in non-default schema #1997

@igitur

Description

@igitur

Description

Trying to rename myschema.mytable to myschema.othername

The command should be:
exec sp_rename "myschema.mytable", "othername";
instead of
exec sp_rename "myschema"."mytable", "othername";

HeidiSQL version

12.8.0.6908

Database server version

MSSQL 2022

Error/Backtrace

No response

Reproduction recipe

Go to ...
Click on ....
See error message: ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDefective behaviour in HeidiSQLnettype-mssqlSQL Server specific issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions