<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://richmondsql.org/cs2007/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SQL Server Questions</title><link>http://richmondsql.org/cs2007/forums/7.aspx</link><description>These are technical questions for the Richmond SQL Server User Group that if possible we will answer in the forum but if not we can talk about it face to face in the next meeting.  Sometimes the a white board helps.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>SQL Server v7 Stored Procedure Question</title><link>http://richmondsql.org/cs2007/forums/thread/82.aspx</link><pubDate>Fri, 19 Sep 2008 16:44:06 GMT</pubDate><guid isPermaLink="false">2e8a3759-4cfd-4c9f-8103-2483fc393c1e:82</guid><dc:creator>bee_kea</dc:creator><slash:comments>0</slash:comments><comments>http://richmondsql.org/cs2007/forums/thread/82.aspx</comments><wfw:commentRss>http://richmondsql.org/cs2007/forums/commentrss.aspx?SectionID=7&amp;PostID=82</wfw:commentRss><description>&lt;div id="inbdy"&gt;Was&amp;nbsp;xp_MoveFile a standard SQL Server v7 extended stored procedure? &lt;br /&gt;
&lt;p&gt;I am doing the initial research at moving legacy SQL Server v7 &lt;br /&gt;databases to SQL 2000 (hold all flames, since the entire server is &lt;br /&gt;migrating, I lobbied for SQL 2005 at minimum). &lt;br /&gt;
&lt;p&gt;There were two common errors. &amp;nbsp;The first was a missing linked server &lt;br /&gt;referenced&amp;nbsp;by 4 SP&amp;#39;s&amp;nbsp; ... &amp;nbsp;no big deal. &amp;nbsp;The second&amp;nbsp;error&amp;nbsp;was a much more &lt;br /&gt;abundant as far as counts: &lt;/p&gt;
&lt;p&gt;&amp;quot;Cannot add rows to sysdepends for the current stored procedure &lt;br /&gt;because it depends on the missing object &amp;#39;master..xp_movefile&amp;#39;. The &lt;br /&gt;stored procedure will still be created.&amp;quot; &lt;/p&gt;
&lt;p&gt;I can see the SP on the v7 Master DB. &amp;nbsp;It points to a DLL that does &lt;br /&gt;reside on the old v7 server. &amp;nbsp;When I search Mircosoft&amp;#39;s MSDN web site, &lt;br /&gt;I don&amp;#39;t get any results for either the SP or the DLL it referances. &amp;nbsp;From what I &lt;br /&gt;can tell, the SP takes as parameters a file path to an existing file &lt;br /&gt;and a string: &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;IF (@result = -1) &lt;br /&gt;&amp;nbsp; &amp;nbsp;BEGIN &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; SET @ErrorText = &amp;#39;Unable to determine file size of &amp;#39;&amp;#39;&amp;#39; + &lt;br /&gt;@FilePath + &amp;#39;&amp;#39;&amp;#39;.&amp;#39; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; EXEC AddError 0, @ErrorText &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; EXEC &amp;nbsp;master..xp_movefile @FilePath, &amp;#39;Bad&amp;#39; &lt;br /&gt;&amp;nbsp; &amp;nbsp;END &lt;br /&gt;ELSE &lt;br /&gt;&amp;nbsp; &amp;nbsp;BEGIN &lt;br /&gt;&amp;nbsp; &amp;nbsp;: &lt;br /&gt;&amp;nbsp; &amp;nbsp;: &lt;br /&gt;
&lt;p&gt;Any idea&amp;#39;s?&lt;/p&gt;
&lt;p&gt;B &lt;br /&gt;&lt;/p&gt;&lt;/div&gt;</description></item></channel></rss>