Heim  >  Artikel  >  Datenbank  >  osx中使用navicat连接sqlserver查看functions中的存储过程的内容

osx中使用navicat连接sqlserver查看functions中的存储过程的内容

WBOY
WBOYOriginal
2016-06-07 15:34:561194Durchsuche

osx10.9 中 navicat连接sqlserver查看functions中的存储过程时无法显示内容 使用 sp_helptext想展示存储过程内容时报错: sp_helptext [Proc_dingdan_into_xml_v2.0] Error : [FreeTDS][SQL Server]The object 'Proc_dingdan_into_xml_v2.0' does not exist

osx10.9 中 navicat连接sqlserver查看functions中的存储过程时无法显示内容


使用 sp_helptext想展示存储过程内容时报错:


sp_helptext [Proc_dingdan_into_xml_v2.0]

Error : [FreeTDS][SQL Server]The object 'Proc_dingdan_into_xml_v2.0' does not exist in database 'localhost' or is invalid for this operation.



最后才知道原来是存储过程的名字中包含了点(.),如果存储过程改为:Proc_dingdan_into_xml_v2既可以正常显示存储过程内容并且用sp_helptext执行也没问题。



关于sqlserver存储过程名字中包含了点之后找不到的这个问题,在网上找了一圈没有找到一个合理的解释和分析,所以目前想查看这个存储过程的内容时,只能先修改名称,成为合法存储过程名查看之后再改回去。。。



如果有谁能直接这个问题的解决方案,赶紧告诉我吧~~~

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn