gpt4 book ai didi

sql-server - SQL Server 中的无效对象名称 'information_schema.columns'

转载 作者:行者123 更新时间:2023-12-02 08:55:15 32 4
gpt4 key购买 nike

以下查询曾经有效:

select * from information_schema.columns where column_name like ...

但现在它抛出一个错误:

Server: Msg 208, Level 16, State 1, Line 1
Invalid object name 'information_schema.columns'.

应用程序已升级,但 View 仍必须存在于数据库中。

最佳答案

或者:

  1. 数据库具有区分大小写的排序规则(尝试全部大写 INFORMATION_SCHEMA.COLUMNS)
  2. 或者您没有权限。

关于sql-server - SQL Server 中的无效对象名称 'information_schema.columns',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6023672/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com