﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Pratap Prabhu  / Find Mismatched Views and Stored Procs / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 21:48:14 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Find Mismatched Views and Stored Procs</title><link>http://www.sqlservercentral.com/Forums/Topic511482-1309-1.aspx</link><description>Amazingly, I was starting to write something like this - select from sysobjects into temporary tables, etc, when my e-mail went boing and this arrived - excellent script, and PERFECT TIMEING thank you very much.</description><pubDate>Sun, 02 Sep 2012 23:53:59 GMT</pubDate><dc:creator>Dr Paul Davis</dc:creator></item><item><title>RE: Find Mismatched Views and Stored Procs</title><link>http://www.sqlservercentral.com/Forums/Topic511482-1309-1.aspx</link><description>[quote][b]Rich.Gamble (7/15/2008)[/b][hr]Provided script failed to create sp_utl_FindMisMatchedObjects in SQL Server 2005 with the following error:Msg 4145, Level 15, State 1, Procedure sp_utl_FindMisMatchedObjects, Line 26An expression of non-boolean type specified in a context where a condition is expected, near 'or'.Msg 102, Level 15, State 1, Procedure sp_utl_FindMisMatchedObjects, Line 27Incorrect syntax near ')'.-- End of Post.[/quote]Changeif(not (select * from sys.databases WHERE name =@strDBName1) or not exists(select * from sys.databases WHERE name =@strDBName2)toif(not exists (select * from sys.databases WHERE name =@strDBName1) or not exists(select * from sys.databases WHERE name =@strDBName2)Otherwise, a handy procedure.PS: it doesn't run in 2000, only in 2005.</description><pubDate>Tue, 15 Jul 2008 13:17:58 GMT</pubDate><dc:creator>Roman Vinnik</dc:creator></item><item><title>RE: Find Mismatched Views and Stored Procs</title><link>http://www.sqlservercentral.com/Forums/Topic511482-1309-1.aspx</link><description>Provided script failed to create sp_utl_FindMisMatchedObjects in SQL Server 2005 with the following error:Msg 4145, Level 15, State 1, Procedure sp_utl_FindMisMatchedObjects, Line 26An expression of non-boolean type specified in a context where a condition is expected, near 'or'.Msg 102, Level 15, State 1, Procedure sp_utl_FindMisMatchedObjects, Line 27Incorrect syntax near ')'.-- End of Post.</description><pubDate>Tue, 15 Jul 2008 07:11:56 GMT</pubDate><dc:creator>Rich.Gamble</dc:creator></item><item><title>RE: Find Mismatched Views and Stored Procs</title><link>http://www.sqlservercentral.com/Forums/Topic511482-1309-1.aspx</link><description>What version of SQL Server is the for?  I'm using SQL2000 and I'm getting lots of odd syntax errors.</description><pubDate>Tue, 15 Jul 2008 06:33:12 GMT</pubDate><dc:creator>CAGreensfelder</dc:creator></item><item><title>Find Mismatched Views and Stored Procs</title><link>http://www.sqlservercentral.com/Forums/Topic511482-1309-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Development/63270/"&gt;Find Mismatched Views and Stored Procs&lt;/A&gt;[/B]</description><pubDate>Wed, 04 Jun 2008 09:28:17 GMT</pubDate><dc:creator>Pratap Prabhu</dc:creator></item></channel></rss>