Search Options
close
Search the following clips:
All Clips
news
science
politics
food
economy
art
technology
health
internet
religion
psychology
Sign Up
Install
Learn More
Login
Connecting SQL Server 2005 x64 to SQL Server 7 (32bit) as a linked server!?
dewitte
follow
0
6-4-2009 1:48 PM
114 views
tags:
sql
,
schema
,
error
,
64bit
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Today's Top Clips
The Gorgeous Arctic Fox
Wacky Winter Weather
Global Warming Nonsense Coming to an End
Humans 'Have Six-hour Window' to Erase Memories of Fear
Pet Tarantula makes eye contact with owner
Certified Pet Therapy: Dogs visiting the sick and injured at hospitals +PICS
Cute yawning animals
No more for me !
Gay Republican Guilt Camp
This Back Flip Attempt Never Had A Chance [GIF]
visit the
Top Clips page
View the Top Clips from
June 4, 2009
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/1f1f992f-2883-4876-8041-f427732f6da8/2C6C595F-3E90-41AA-B15C-EEADA4F37233/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://joelmansford.wordpress.com/2007/08/10/connecting-sql-server-2005-x64-to-sql-server-7-32bit-as-a-linked-server/" href="http://joelmansford.wordpress.com/2007/08/10/connecting-sql-server-2005-x64-to-sql-server-7-32bit-as-a-linked-server/" style="font-size: 11px;">joelmansford.wordpress.com</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://joelmansford.wordpress.com/2007/08/10/connecting-sql-server-2005-x64-to-sql-server-7-32bit-as-a-linked-server/"><P>I get the following error</p> <PRE>OLE DB provider "SQLNCLI" for linked server "MySQLServer7" returned message "Unspecified error". OLE DB provider "SQLNCLI" for linked server "MySQLServer7" returned message "The stored procedure required to complete this operation could not be found on the server. Please contact your system administrator.". <FONT color="#ff0000">Msg 7311, Level 16, State 2, Line 9 Cannot obtain the schema rowset "DBSCHEMA_TABLES_INFO" for OLE DB provider "SQLNCLI" for linked server "OSLO". The provider supports the interface, but returns a failure</FONT></PRE></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://joelmansford.wordpress.com/2007/08/10/connecting-sql-server-2005-x64-to-sql-server-7-32bit-as-a-linked-server/"><P><SPAN><SPAN>Marek’s solution is to create a wrapper on the master database as follows (his code not mine):</SPAN></SPAN></p> <P><SPAN><SPAN></SPAN></SPAN></p> <P class="MsoNormal"><SPAN>create</SPAN><SPAN> <SPAN>procedure</SPAN> sp_tables_info_rowset_64</SPAN></p> <P class="MsoNormal"><SPAN> @table_name <SPAN>sysname</SPAN><SPAN>,</SPAN> </SPAN></p> <P class="MsoNormal"><SPAN> @table_schema <SPAN>sysname</SPAN> <SPAN>=</SPAN> <SPAN>null,</SPAN> </SPAN></p> <P class="MsoNormal"><SPAN> </SPAN><SPAN>@table_type <SPAN>nvarchar</SPAN><SPAN>(</SPAN>255<SPAN>)</SPAN> <SPAN>=</SPAN> <SPAN>null</SPAN> </SPAN></p> <P class="MsoNormal"><SPAN>as</SPAN></p> <P class="MsoNormal"><SPAN>declare @Result int set @Result = 0</SPAN></p> <P class="MsoNormal"><SPAN>exec</SPAN><SPAN> @Result = <SPAN>sp_tables_info_rowset</SPAN> @table_name<SPAN>,</SPAN> @table_schema<SPAN>,</SPAN> @table_type</SPAN></p> <P></p> <P>This works a treat – cheers Marek!</P></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/2C6C595F-3E90-41AA-B15C-EEADA4F37233/blog/" title="blog or email this clip"><img src="http://content8.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
New from the makers of Clipmarks:
Amplify.com - Don't just share the news...Amplify it!
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Copyright
Privacy
EULA
OK