<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4291664034828038593.post7674148741081263069..comments</id><updated>2011-03-30T16:39:54.649+01:00</updated><category term='Social Media'/><category term='PluginSponsors.com'/><category term='Visual Studio'/><category term='Firefox Plugins'/><category term='DTS'/><category term='Hash'/><category term='bug'/><category term='syscomments'/><category term='System32'/><category term='Geometry'/><category term='Strictly AutoTags'/><category term='Apple'/><category term='packing'/><category term='Ban'/><category term='.0'/><category term='VPN'/><category term='Diagnostic'/><category term='TCP'/><category term='message'/><category term='extension'/><category term='DATEDIFF'/><category term='Compression techniques'/><category term='file extension'/><category term='Debugging'/><category term='showdebug'/><category term='posts_per_page'/><category term='SSIS'/><category term='opera'/><category term='GMail'/><category term='proc'/><category term='scripting'/><category term='standards compliant'/><category term='Plugin'/><category term='CSS'/><category term='UTF-8'/><category term='Javascript'/><category term='dragons'/><category term='UDF'/><category term='LOCK_TIMEOUT'/><category term='formatting'/><category term='Body'/><category term='Memory Leak'/><category term='Customer'/><category term='IIS'/><category term='Preg_Replace'/><category term='Webmaster'/><category term='touch screen'/><category term='Bad Bot'/><category term='patent'/><category term='compatibility'/><category term='IE developer toolbar'/><category term='Unpacker'/><category term='dynamic management view'/><category term='view'/><category term='sysdatabases'/><category term='Hattrick'/><category term='highlighting'/><category term='parameter'/><category term='fix'/><category term='Internet Explorer'/><category term='SQL DOS Attack'/><category term='Kses'/><category term='blogging'/><category term='Key'/><category term='TempDB'/><category term='Blog'/><category term='.NET'/><category term='Port Scan'/><category term='Microsoft'/><category term='IIS 7'/><category term='Email'/><category term='Cache'/><category term='iframe'/><category term='Performance Tuning'/><category term='CRON'/><category term='spammer'/><category term='htcacheclean'/><category term='prevention'/><category term='IE 8'/><category term='hacking'/><category term='lookahead'/><category term='Compute'/><category term='blocking'/><category term='css selectors'/><category term='strictly jobs'/><category term='scraping'/><category term='Browsers'/><category term='survey'/><category term='onDOMReady'/><category term='job-rapists'/><category term='Terminal Services'/><category term='online tool'/><category term='compressed'/><category term='tuning'/><category term='hotlinking'/><category term='Crawlers'/><category term='DOMReady'/><category term='Scrape'/><category term='Applications'/><category term='code'/><category term='Articles'/><category term='embed'/><category term='Classic ASP'/><category term='scripts'/><category term='Search Tool'/><category term='MySQLTuner'/><category term='JSmin'/><category term='hack'/><category term='systables'/><category term='EXECUTE'/><category term='bot'/><category term='Website'/><category term='Batch Delete'/><category term='Full Text Index'/><category term='pre-fetching'/><category term='ASCII'/><category term='engine'/><category term='Deadlocks'/><category term='size'/><category term='create'/><category term='Firefox 5'/><category term='Open Source'/><category term='Betting'/><category term='Pop Div'/><category term='Ready'/><category term='PHP'/><category term='STUFF'/><category term='Google Chrome'/><category term='webmaster tools'/><category term='Proxy'/><category term='AutoBlogging'/><category term='FOPEN'/><category term='Foreign Key'/><category term='index'/><category term='htaccess'/><category term='Memory'/><category term='String Comparison'/><category term='IE 9'/><category term='PATINDEX'/><category term='TV Shows'/><category term='Uk Horse Racing Star'/><category term='DOS'/><category term='Indexing'/><category term='Forward IP'/><category term='Enforce'/><category term='block'/><category term='Wordpress'/><category term='display'/><category term='security context'/><category term='web'/><category term='encoding'/><category term='CONCAT'/><category term='Errors'/><category term='donate'/><category term='Cartesian'/><category term='querystring'/><category term='WhoisCL'/><category term='Automattic'/><category term='Strictly Tweetbot'/><category term='upgrading'/><category term='library'/><category term='Demand 5'/><category term='Text'/><category term='troubleshooting'/><category term='Trainers'/><category term='queries'/><category term='Flash'/><category term='Job Rapist'/><category term='js'/><category term='UDP'/><category term='32 bit'/><category term='Compressor'/><category term='sysobjects'/><category term='function'/><category term='Depreciated Features'/><category term='Proxies'/><category term='Object Detection. social bookmark'/><category term='Privacy'/><category term='IP'/><category term='Parameterize'/><category term='agent detection'/><category term='overhead'/><category term='injection'/><category term='safari'/><category term='Command Line'/><category term='offsetWidth'/><category term='run time'/><category term='jQuery'/><category term='robots.txt'/><category term='Reverse'/><category term='Fulltext'/><category term='Secpay'/><category term='URL'/><category term='toolbar'/><category term='DOJO'/><category term='Lazy function definition'/><category term='XML'/><category term='UserAgentButton'/><category term='Developer'/><category term='page loads'/><category term='owner'/><category term='Kerberos'/><category term='regular expression'/><category term='Content Scrapper'/><category term='Hotlink'/><category term='Browser detection'/><category term='IE 6'/><category term='style'/><category term='Pattern'/><category term='window.event'/><category term='Timeouts'/><category term='I/O'/><category term='Firetune'/><category term='Linked Lists'/><category term='fake'/><category term='.EXE'/><category term='Bugs'/><category term='GRANT'/><category term='SeaMonkey'/><category term='FF3'/><category term='hackbot'/><category term='Movies'/><category term='Datetime'/><category term='exploit'/><category term='widget'/><category term='prototype'/><category term='system views'/><category term='Connection Problems'/><category term='Wireless'/><category term='Usage'/><category term='Carrington'/><category term='Twitter'/><category term='Content preview'/><category term='Task Manager'/><category term='Date'/><category term='Virgin Media'/><category term='UPDATE'/><category term='AJAX'/><category term='Compress'/><category term='.NET. Framework 4'/><category term='protect HTML'/><category term='CHARSET'/><category term='Tweet'/><category term='. EMBED'/><category term='Cross Join'/><category term='Translator'/><category term='SQL Performance'/><category term='Flash problem'/><category term='console'/><category term='Mashup'/><category term='RI'/><category term='LINUX'/><category term='CPU'/><category term='Hattrickheaven'/><category term='negative assert'/><category term='script'/><category term='Minification'/><category term='WGET'/><category term='Banning'/><category term='matching'/><category term='Yahoo'/><category term='ADO'/><category term='LIKE Attack'/><category term='top 10'/><category term='LAMP'/><category term='INDEX SCAN'/><category term='job count'/><category term='Akismet'/><category term='Banned'/><category term='broadband'/><category term='Radio'/><category term='ASP'/><category term='403'/><category term='YouTube'/><category term='YUI'/><category term='Search'/><category term='Blogspot'/><category term='CV'/><category term='API'/><category term='parse content'/><category term='TSQL'/><category term='2005'/><category term='null'/><category term='Constraint'/><category term='Tool'/><category term='Port'/><category term='spoof'/><category term='Opera. browser'/><category term='source'/><category term='DDL'/><category term='pattern matching'/><category term='documentMode'/><category term='user-agent'/><category term='Browser'/><category term='tags'/><category term='this keyword'/><category term='jobboard'/><category term='Tweetbot'/><category term='MOD Rewrite'/><category term='HTML Encode'/><category term='HREF'/><category term='features'/><category term='ALTER'/><category term='Window'/><category term='model'/><category term='traffic'/><category term='Port 80'/><category term='the_loop'/><category term='anonymous functions'/><category term='TRIM'/><category term='keywords'/><category term='Issues'/><category term='images'/><category term='Horse Racing'/><category term='decode'/><category term='Performance'/><category term='Designmode'/><category term='Relationships'/><category term='surfing'/><category term='development'/><category term='X-UA-Compatibility'/><category term='stripos'/><category term='console. Debugging'/><category term='Import'/><category term='Users'/><category term='Table Variables'/><category term='Reverse DNS'/><category term='Windows'/><category term='add-on'/><category term='Geography'/><category term='Movie'/><category term='chrome'/><category term='performance audit'/><category term='Web Development'/><category term='Network Tools'/><category term='job'/><category term='Backup'/><category term='blocked process'/><category term='highlighter'/><category term='system.web'/><category term='spam'/><category term='Scanner'/><category term='spider'/><category term='Search Engine Optimization'/><category term='useragents'/><category term='Pre-Rendering'/><category term='mousemove'/><category term='Video'/><category term='Domain Controller'/><category term='work'/><category term='64 bit'/><category term='Shutdown'/><category term='Varchar'/><category term='Many to many'/><category term='Logins'/><category term='sys.process'/><category term='example'/><category term='Hacker'/><category term='Logging'/><category term='format'/><category term='Perl'/><category term='Theme'/><category term='pointer'/><category term='lambda'/><category term='Batch Update'/><category term='Compression'/><category term='GPL'/><category term='OPTIMIZE'/><category term='Synonym'/><category term='From The Stables'/><category term='High CPU'/><category term='iPhone'/><category term='Coverage'/><category term='Temporary Tables'/><category term='SID'/><category term='CMS'/><category term='Whois'/><category term='Lookup'/><category term='Relative'/><category term='user defined function'/><category term='Forwarding'/><category term='network'/><category term='DOS Attack'/><category term='framework'/><category term='overwrite'/><category term='error'/><category term='Boost'/><category term='Simplepie'/><category term='support'/><category term='Trident'/><category term='Minify'/><category term='MS11-100'/><category term='ISO'/><category term='Simple'/><category term='Smart tags'/><category term='input'/><category term='Restart'/><category term='event'/><category term='Anonymous'/><category term='URI'/><category term='detect'/><category term='Bots'/><category term='entity'/><category term='results'/><category term='SQL Denial of service attack'/><category term='Defragmenter'/><category term='Auto blogging'/><category term='preg_match'/><category term='Purchase'/><category term='set nocount'/><category term='Snap'/><category term='Links'/><category term='GZIP'/><category term='clientIP'/><category term='aggregator'/><category term='Law'/><category term='Tuneup'/><category term='MooTools'/><category term='catalog'/><category term='MySQLReport'/><category term='unresponsive'/><category term='SQL Denial of service'/><category term='Reports'/><category term='spamming'/><category term='ASMX'/><category term='Restore'/><category term='remote'/><category term='hackbots'/><category term='migration'/><category term='Bookmarklet'/><category term='Donations'/><category term='Weekday'/><category term='quiz'/><category term='packed'/><category term='trustworthy'/><category term='Google'/><category term='Free Code'/><category term='Firebug Lite'/><category term='replace'/><category term='pop-up'/><category term='Bing'/><category term='taxonomies'/><category term='DMV'/><category term='Database'/><category term='postError'/><category term='APACHE'/><category term='Forced'/><category term='WAMP Server'/><category term='server'/><category term='Bullying'/><category term='spike'/><category term='SERP'/><category term='Football'/><category term='visitor'/><category term='human'/><category term='Turbo'/><category term='problem'/><category term='MyTOP'/><category term='DNS'/><category term='Export'/><category term='SQL'/><category term='CURL'/><category term='MDAC'/><category term='Feeds'/><category term='IE9'/><category term='fingerprint'/><category term='Styling'/><category term='top tips'/><category term='Ports'/><category term='SQL 2005'/><category term='Top Ten'/><category term='vacancies'/><category term='SQL injection'/><category term='Page Rank'/><category term='META'/><category term='varbinary'/><category term='Betfair'/><category term='popdiv'/><category term='rewrite'/><category term='Telnet'/><category term='CHARINDEX'/><category term='c#'/><category term='firefox'/><category term='DOM'/><category term='RSS'/><category term='onpaste'/><category term='CAST'/><category term='INDEX SEEK'/><category term='param'/><category term='codebase'/><category term='Access Denied'/><category term='Techies'/><category term='Googlebot'/><category term='Windows Service'/><category term='Find Text'/><category term='compatMode'/><category term='Tunnelling'/><category term='LINQ'/><category term='MySQL'/><category term='Hacks'/><category term='client side'/><category term='security'/><category term='GIF'/><category term='Geolocation'/><category term='object'/><category term='DLL'/><category term='CAPTCHA'/><category term='robots'/><category term='compile'/><category term='Poll'/><category term='Source code'/><category term='Reboot'/><category term='white space'/><category term='hidden'/><category term='editor'/><category term='DML'/><category term='Frameworks'/><category term='escape'/><category term='plan'/><category term='Forbidden'/><category term='Specification'/><category term='HTML'/><category term='LIKE'/><category term='Payment'/><category term='Site Monitoring'/><category term='Debug'/><category term='spambot'/><category term='Firefox 3'/><category term='strpos'/><category term='encode'/><category term='XSS'/><category term='plugins'/><category term='Port 8888'/><category term='REPAIR'/><category term='jobrapido. JobsUk'/><category term='ASP.net'/><category term='SARGABLE'/><category term='Media'/><category term='sitemap'/><category term='DELL'/><category term='127.0.0.1'/><category term='SQL 2008'/><category term='WYSIWYG'/><category term='Domain Problems'/><category term='permission'/><category term='SQL Server'/><category term='vacancy'/><category term='load'/><category term='Comments'/><category term='Page Ranking'/><category term='Remote Desktop'/><category term='Firewall'/><category term='ASPX'/><category term='ISAPI'/><category term='Twitter Rush'/><category term='SRC'/><category term='Absolute'/><category term='Referential Integrity'/><category term='Mozilla'/><category term='Banner'/><category term='Localhost'/><category term='AddThis'/><category term='crawler'/><category term='Translate'/><category term='quick fix'/><category term='Windows 7'/><category term='Download Scripts'/><category term='rendering'/><category term='SDFix'/><category term='EOLAS'/><category term='ContentEditable'/><category term='level'/><category term='Worldpay'/><category term='stored procedure'/><category term='Find'/><category term='knowledge base'/><category term='programming'/><category term='document'/><category term='URLEncode'/><category term='plaster'/><category term='cross browser'/><category term='RegEx'/><category term='offsetHeight'/><category term='Caching'/><category term='FSOCKOPEN'/><category term='SQLOLEDB'/><category term='Web Service'/><category term='config'/><category term='3389'/><category term='Matrix'/><category term='Webserver'/><category term='mode'/><category term='Data'/><category term='jobs'/><category term='Firebug'/><category term='clean up'/><category term='SEO'/><category term='icon'/><category term='HttpUtillity'/><category term='joke'/><category term='WebProxy'/><category term='IE'/><category term='Speed'/><category term='forward assert'/><category term='WP-O-Matic'/><category term='Google. chrome'/><category term='HashTag'/><title type='text'>Comments on Strictly Software: System Views, Stored Procedures and SET NOCOUNT</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.strictly-software.com/feeds/7674148741081263069/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default'/><link rel='alternate' type='text/html' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html'/><author><name>R Reid</name><uri>http://www.blogger.com/profile/05430306492065347012</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_xjyhPcIZ6l0/SMhMY74pPpI/AAAAAAAAAAM/6FzFyynZ9Iw/S220/Rob.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4291664034828038593.post-2112445832193363140</id><published>2011-03-30T16:39:54.649+01:00</published><updated>2011-03-30T16:39:54.649+01:00</updated><title type='text'>which is what my last comment was trying to get at...</title><summary type='text'>which is what my last comment was trying to get at. The +1 just creates an extra blank line at the end which isn&amp;#39;t needed now the extra new line was added.&lt;br /&gt;&lt;br /&gt;That other code someone posted is fine for SQL 2008 but 2005 or below it won&amp;#39;t work. But thanks anyway</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/2112445832193363140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/2112445832193363140'/><link rel='alternate' type='text/html' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html?showComment=1301499594649#c2112445832193363140' title=''/><author><name>R Reid</name><uri>http://www.blogger.com/profile/05430306492065347012</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_xjyhPcIZ6l0/SMhMY74pPpI/AAAAAAAAAAM/6FzFyynZ9Iw/S220/Rob.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html' ref='tag:blogger.com,1999:blog-4291664034828038593.post-7674148741081263069' source='http://www.blogger.com/feeds/4291664034828038593/posts/default/7674148741081263069' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-261075570'/></entry><entry><id>tag:blogger.com,1999:blog-4291664034828038593.post-1013548399574946490</id><published>2011-03-30T16:13:36.294+01:00</published><updated>2011-03-30T16:13:36.294+01:00</updated><title type='text'>In response to RReid @ 30 March 2011 15:44 :-
&lt;b&gt;S...</title><summary type='text'>In response to RReid @ 30 March 2011 15:44 :-&lt;br /&gt;&lt;b&gt;SELECT&lt;br /&gt;@ROWS = @@ROWCOUNT&lt;br /&gt;, @MaxRowNo = MAX(RowNo) + 1&lt;br /&gt;FROM&lt;br /&gt;#PROC&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The + 1 actually produces an extra line that is NOT required&lt;br /&gt;&lt;br /&gt;Thanks very much for the code - saved me hours of work!</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/1013548399574946490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/1013548399574946490'/><link rel='alternate' type='text/html' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html?showComment=1301498016294#c1013548399574946490' title=''/><author><name>Gazza</name><uri>http://www.blogger.com/profile/05853565260438125364</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html' ref='tag:blogger.com,1999:blog-4291664034828038593.post-7674148741081263069' source='http://www.blogger.com/feeds/4291664034828038593/posts/default/7674148741081263069' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1908414595'/></entry><entry><id>tag:blogger.com,1999:blog-4291664034828038593.post-3518989268663655482</id><published>2011-03-30T16:04:24.069+01:00</published><updated>2011-03-30T16:04:24.069+01:00</updated><title type='text'>This is the code I am using: modified slightly fro...</title><summary type='text'>This is the code I am using: modified slightly from yours!&lt;br /&gt;This works in my environment (W7 x64, SQL Server 2008 R2 x64)&lt;br /&gt;&lt;br /&gt;-- =============================================================================================&lt;br /&gt;-- Author: Rob Reid&lt;br /&gt;-- Create date: 12-Mar-2009&lt;br /&gt;-- Description: SQL script to correct all stored procedures that do not contain SET NOCOUNT ON.&lt;br /&gt;-</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/3518989268663655482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/3518989268663655482'/><link rel='alternate' type='text/html' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html?showComment=1301497464069#c3518989268663655482' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html' ref='tag:blogger.com,1999:blog-4291664034828038593.post-7674148741081263069' source='http://www.blogger.com/feeds/4291664034828038593/posts/default/7674148741081263069' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-994010720'/></entry><entry><id>tag:blogger.com,1999:blog-4291664034828038593.post-4449392258642041362</id><published>2011-03-30T15:44:05.540+01:00</published><updated>2011-03-30T15:44:05.540+01:00</updated><title type='text'>Surely I don&amp;#39;t need to add that line now that ...</title><summary type='text'>Surely I don&amp;#39;t need to add that line now that I have added the extra New Line insert statement above it as requested which means that MAX(RowNo) is always going to be the last row in the temp table containing just a newline command.&lt;br /&gt;&lt;br /&gt;INSERT #PROC EXEC sp_helpText @ProcName&lt;br /&gt;&lt;br /&gt;-- fix bug that misses out last line sometimes&lt;br /&gt;INSERT INTO #PROC&lt;br /&gt;(ProcLine)&lt;br /&gt;VALUES&lt;br</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/4449392258642041362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/4449392258642041362'/><link rel='alternate' type='text/html' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html?showComment=1301496245540#c4449392258642041362' title=''/><author><name>R Reid</name><uri>http://www.blogger.com/profile/05430306492065347012</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_xjyhPcIZ6l0/SMhMY74pPpI/AAAAAAAAAAM/6FzFyynZ9Iw/S220/Rob.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html' ref='tag:blogger.com,1999:blog-4291664034828038593.post-7674148741081263069' source='http://www.blogger.com/feeds/4291664034828038593/posts/default/7674148741081263069' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-261075570'/></entry><entry><id>tag:blogger.com,1999:blog-4291664034828038593.post-1666871548467585639</id><published>2011-03-30T15:20:32.833+01:00</published><updated>2011-03-30T15:20:32.833+01:00</updated><title type='text'>Need to add this to ensure the last line is not om...</title><summary type='text'>Need to add this to ensure the last line is not omitted:&lt;br /&gt;&lt;br /&gt;SELECT&lt;br /&gt;                @ROWS = @@ROWCOUNT&lt;br /&gt;              , @MaxRowNo = MAX(RowNo) &lt;b&gt;+ 1&lt;/b&gt;&lt;br /&gt;            FROM&lt;br /&gt;                #PROC&lt;br /&gt;&lt;br /&gt;Link to code still not showing this!&lt;br /&gt;&lt;br /&gt;Cheers&lt;br /&gt;GSC</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/1666871548467585639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/1666871548467585639'/><link rel='alternate' type='text/html' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html?showComment=1301494832833#c1666871548467585639' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html' ref='tag:blogger.com,1999:blog-4291664034828038593.post-7674148741081263069' source='http://www.blogger.com/feeds/4291664034828038593/posts/default/7674148741081263069' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-994010720'/></entry><entry><id>tag:blogger.com,1999:blog-4291664034828038593.post-1075755581616863126</id><published>2011-03-29T14:38:08.355+01:00</published><updated>2011-03-29T14:38:08.355+01:00</updated><title type='text'>I have updated the script to include an extra new ...</title><summary type='text'>I have updated the script to include an extra new line insert to prevent this bug from happening.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/1075755581616863126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/1075755581616863126'/><link rel='alternate' type='text/html' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html?showComment=1301405888355#c1075755581616863126' title=''/><author><name>R Reid</name><uri>http://www.blogger.com/profile/05430306492065347012</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_xjyhPcIZ6l0/SMhMY74pPpI/AAAAAAAAAAM/6FzFyynZ9Iw/S220/Rob.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html' ref='tag:blogger.com,1999:blog-4291664034828038593.post-7674148741081263069' source='http://www.blogger.com/feeds/4291664034828038593/posts/default/7674148741081263069' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-261075570'/></entry><entry><id>tag:blogger.com,1999:blog-4291664034828038593.post-8597784743916719003</id><published>2011-03-29T11:11:39.751+01:00</published><updated>2011-03-29T11:11:39.751+01:00</updated><title type='text'>I too experienced the last line being omitted. (SQ...</title><summary type='text'>I too experienced the last line being omitted. (SQL 2008)&lt;br /&gt;&lt;br /&gt;Other than that excellent code!</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/8597784743916719003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/8597784743916719003'/><link rel='alternate' type='text/html' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html?showComment=1301393499751#c8597784743916719003' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html' ref='tag:blogger.com,1999:blog-4291664034828038593.post-7674148741081263069' source='http://www.blogger.com/feeds/4291664034828038593/posts/default/7674148741081263069' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-994010720'/></entry><entry><id>tag:blogger.com,1999:blog-4291664034828038593.post-9031197585144771583</id><published>2009-12-29T17:45:43.517Z</published><updated>2009-12-29T17:45:43.517Z</updated><title type='text'>Hi again, I&amp;#39;m writing to you for the 2nd time ...</title><summary type='text'>Hi again, I&amp;#39;m writing to you for the 2nd time today.I found a bug in the script.You have to insert an extra NL after the command:&lt;br /&gt;&lt;br /&gt;INSERT #PROC EXEC sp_helpText @ProcName&lt;br /&gt;&lt;br /&gt;otherwise, in same cases, it removes the last line of the original script.&lt;br /&gt;&lt;br /&gt;Take care.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/9031197585144771583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/9031197585144771583'/><link rel='alternate' type='text/html' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html?showComment=1262108743517#c9031197585144771583' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html' ref='tag:blogger.com,1999:blog-4291664034828038593.post-7674148741081263069' source='http://www.blogger.com/feeds/4291664034828038593/posts/default/7674148741081263069' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-652940497'/></entry><entry><id>tag:blogger.com,1999:blog-4291664034828038593.post-8652927815551616319</id><published>2009-12-29T11:01:35.810Z</published><updated>2009-12-29T11:01:35.810Z</updated><title type='text'>Excellent job, placing automatically set nocount o...</title><summary type='text'>Excellent job, placing automatically set nocount ons to sps was the thing I&amp;#39;ve been searching for.We will make this script run for nearly 6000 sps !&lt;br /&gt;Thus it was very usefull.Thanks a lot.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/8652927815551616319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4291664034828038593/7674148741081263069/comments/default/8652927815551616319'/><link rel='alternate' type='text/html' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html?showComment=1262084495810#c8652927815551616319' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.strictly-software.com/2009/03/system-views-stored-procedures-and-set.html' ref='tag:blogger.com,1999:blog-4291664034828038593.post-7674148741081263069' source='http://www.blogger.com/feeds/4291664034828038593/posts/default/7674148741081263069' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-652940497'/></entry></feed>
