操作原形:select * from 远程服务器在本地注册名称.数据库.dbo.表名
错误信息:
服务器: 消息 7313,级别 16,状态 1,行 1
为提供程序指定的架构或目录无效 'SQLOLEDB'。
OLE DB 错误跟踪[Non-interface error: Invalid schema or catalog specified for the provider.]。
解决方法:
表结构创建的时候有问题,需要重命名表备份
sp_rename '表名','表名_bak'
重新创建表。
将备份表中的数据(insert into 表名 select 字段... from 表名_bak ) 到创建的新表中,删除备份表。
补充:
--创建链接服务器
exec sp_addlinkedserver 'srv_lnk ', ' ', 'SQLOLEDB ', '远程服务器名或ip地址 '
exec sp_addlinkedsrvlogin 'srv_lnk ', 'false ',null, '用户名 ', '密码 '
go
分享到:
相关推荐
Invalid Schema(解决方案).md
### "format ' x' invalid or incompatible with argument" 解决办法 在进行电子设计自动化(EDA)软件Protel 99 SE的操作过程中,用户可能会遇到一个常见的错误提示:“format ' x' invalid or incompatible with ...
标题中的问题 "Format '%x' invalid or incompatible" 是在使用Protel 99 SE这款电路设计软件时遇到的一个常见错误提示。这个错误通常出现在软件尝试处理一个格式化字符串时,发现该字符串与传递的参数不匹配或者...
标题中的问题“protel 99se :format %x invalid or incompatible with argument”是一个常见的错误提示,通常在尝试运行或安装Protel 99SE软件时出现。这个错误表明程序在处理某种格式化字符串(%x)时遇到了不兼容...
标题中的“protel.99 format '%x' invalid or incompatible with argument打软体报错补丁.rar”指的是Protel 99软件在运行时遇到了一个格式错误,具体表现为使用`%x`格式化字符串与传入的参数不兼容。这通常出现在C/...
然而,在使用过程中,用户可能会遇到一些问题,比如“Format '%x' invalid or”这样的错误提示,这通常是由于软件内部格式处理的问题或者与自定义库的兼容性引起的。为了解决这个困扰用户的难题,我们可以深入探讨这...
### 错误解析与解决方案:Format ' x' Invalid or Incompatible with Argument 在使用Protel 99进行PCB设计时,可能会遇到“format ' x' invalid or incompatible with argument”这样的错误提示。这一错误通常出现...
InvalidSignature-The signature is invalid(解决方案).md
InvalidRequest-The request is invalid(解决方案).md
InvalidArgument-The argument is invalid(解决方案).md
Invalid Command Line Argument(解决方案).md
在IT领域,遇到“打开vs提示invalid handle”的问题并不罕见,这通常意味着Visual Studio(简称VS)在尝试访问某些资源或执行特定操作时遇到了错误。此类问题可能源于多种因素,包括但不限于权限问题、系统资源冲突...
如果在打开某一程序时出现错误提示:Not found the kernel library or the kernel library is invalid,那是因为缺少相应的内核文件所致,解决方法很简单,将相应的库文件krnln.fnr和shell.fne和程序放在...
The value for key CFBundleShortVersionString [1.2] in the Info.plist file must contain a higher version than that of the previously approved version [1.15] 明明1.2的版本号要大于1.15,怎么还会出现错误...
Decryption failed. Invalid key or data(解决方案).md
在这个场景下,"Delete the specified folder" 指的是通过编程或脚本方式删除特定路径下的文件夹。VC(Visual C++)是这个上下文中可能使用的编程环境,因为它是一个广泛用于Windows平台的C++开发工具。 删除文件夹...
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'. - schema_reference.4: Failed to read schema document '...
Invalid HTTP version(解决方案).md
invalid value(解决方案).md
MySql 常见错误代码解析 MySql 是一个流行的关系数据库管理系统,广泛应用于各种 Web 应用程序中。但是,在使用 MySql 过程中,我们经常会遇到各种错误代码,这些错误代码可能会导致数据库崩溃、数据丢失或应用程序...