<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>hibbins.com &#187; Quick Tips</title>
	<atom:link href="http://www.hibbins.com/category/softwaredevelopment/quick-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hibbins.com</link>
	<description>Software Development: C#, SQL Server, .NET, Analysis Services, Reporting Services, Intergration Services, OLAP, PHP, HTML, XML, CSS, Java, Javascript and anything else technical, complex and hibbins.com</description>
	<lastBuildDate>Thu, 15 Apr 2010 02:02:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPhone caps lock mode</title>
		<link>http://www.hibbins.com/2010/04/15/iphone-caps-lock-mode/</link>
		<comments>http://www.hibbins.com/2010/04/15/iphone-caps-lock-mode/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 02:01:17 +0000</pubDate>
		<dc:creator>Jon Hibbins</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Capital]]></category>
		<category><![CDATA[Capitalise]]></category>
		<category><![CDATA[Capitalize]]></category>
		<category><![CDATA[Caps Lock]]></category>
		<category><![CDATA[Shift]]></category>

		<guid isPermaLink="false">http://www.hibbins.com/?p=251</guid>
		<description><![CDATA[The iPhone does have a caps lock mode built in, but it&#8217;s disabled by default. To enable it, go to Settings > General > Keyboard and turn on &#8220;Enable Caps Lock.&#8221; Now whenever you need to type in all caps, simply double-tap the shift key to engage caps lock.

  addthis_url    = [...]]]></description>
			<content:encoded><![CDATA[<p>The iPhone does have a caps lock mode built in, but it&#8217;s disabled by default. To enable it, go to Settings > General > Keyboard and turn on &#8220;Enable Caps Lock.&#8221; Now whenever you need to type in all caps, simply double-tap the shift key to engage caps lock.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.hibbins.com%2F2010%2F04%2F15%2Fiphone-caps-lock-mode%2F';
  addthis_title  = 'iPhone+caps+lock+mode';
  addthis_pub    = 'JHibbins';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.hibbins.com/2010/04/15/iphone-caps-lock-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TIP: Hiding the Windows Live Messenger icon</title>
		<link>http://www.hibbins.com/2010/01/14/tip-hiding-the-windows-live-messenger-icon/</link>
		<comments>http://www.hibbins.com/2010/01/14/tip-hiding-the-windows-live-messenger-icon/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 16:24:00 +0000</pubDate>
		<dc:creator>Jon Hibbins</dc:creator>
				<category><![CDATA[Platform]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Messenger]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.hibbins.com/2010/01/14/tip-hiding-the-windows-live-messenger-icon/</guid>
		<description><![CDATA[If you use Windows Live Messenger a lot, you&#8217;ll have noticed that the icon now resides on the taskbar, where you can easily change status and quickly send an IM to someone. If you prefer to keep Windows Live Messenger in the system tray, where it&#8217;s been for previous releases, just close Windows Live Messenger, [...]]]></description>
			<content:encoded><![CDATA[<p>If you use Windows Live Messenger a lot, you&#8217;ll have noticed that the icon now resides on the taskbar, where you can easily change status and quickly send an IM to someone. If you prefer to keep Windows Live Messenger in the system tray, where it&#8217;s been for previous releases, just close Windows Live Messenger, edit the shortcut properties and set the application to run in Windows Vista compatibility mode.   </p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.hibbins.com%2F2010%2F01%2F14%2Ftip-hiding-the-windows-live-messenger-icon%2F';
  addthis_title  = 'TIP%3A+Hiding+the+Windows+Live+Messenger+icon';
  addthis_pub    = 'JHibbins';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.hibbins.com/2010/01/14/tip-hiding-the-windows-live-messenger-icon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>T-SQL Date Only Function</title>
		<link>http://www.hibbins.com/2009/11/24/t-sql-date-only-function/</link>
		<comments>http://www.hibbins.com/2009/11/24/t-sql-date-only-function/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 07:00:38 +0000</pubDate>
		<dc:creator>Jon Hibbins</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MSSQL2005]]></category>
		<category><![CDATA[MSSQL2008]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.hibbins.com/?p=243</guid>
		<description><![CDATA[
CREATE FUNCTION &#91;dbo&#93;.&#91;DateOnly&#93; &#40;@Date DATETIME&#41;
RETURNS DATETIME
BEGIN
    RETURN DATEADD&#40;d, DATEDIFF&#40;d, 0, @Date&#41;, 0&#41;
END


  addthis_url    = 'http%3A%2F%2Fwww.hibbins.com%2F2009%2F11%2F24%2Ft-sql-date-only-function%2F';
  addthis_title  = 'T-SQL+Date+Only+Function';
  addthis_pub    = 'JHibbins';

]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">FUNCTION</span> <span style="color: #66cc66;">&#91;</span>dbo<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>DateOnly<span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#40;</span>@Date DATETIME<span style="color: #66cc66;">&#41;</span>
RETURNS DATETIME
BEGIN
    <span style="color: #993333; font-weight: bold;">RETURN</span> DATEADD<span style="color: #66cc66;">&#40;</span>d<span style="color: #66cc66;">,</span> DATEDIFF<span style="color: #66cc66;">&#40;</span>d<span style="color: #66cc66;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">,</span> @Date<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>
END</pre></div></div>

<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.hibbins.com%2F2009%2F11%2F24%2Ft-sql-date-only-function%2F';
  addthis_title  = 'T-SQL+Date+Only+Function';
  addthis_pub    = 'JHibbins';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.hibbins.com/2009/11/24/t-sql-date-only-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TSQL Last Day Of The Month</title>
		<link>http://www.hibbins.com/2009/11/23/tsql-last-day-of-the-month/</link>
		<comments>http://www.hibbins.com/2009/11/23/tsql-last-day-of-the-month/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 11:43:45 +0000</pubDate>
		<dc:creator>Jon Hibbins</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[MSSQL2005]]></category>
		<category><![CDATA[MSSQL2008]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.hibbins.com/?p=230</guid>
		<description><![CDATA[
CREATE FUNCTION &#91;dbo&#93;.&#91;LastDayOfTheMonth&#93; &#40;@Date DATETIME &#41;
RETURNS DATETIME
BEGIN
    RETURN dateadd&#40;ms, -3, DATEADD&#40;mm, DATEDIFF&#40;m, 0, @Date&#41; + 1, 0&#41;&#41;
END


  addthis_url    = 'http%3A%2F%2Fwww.hibbins.com%2F2009%2F11%2F23%2Ftsql-last-day-of-the-month%2F';
  addthis_title  = 'TSQL+Last+Day+Of+The+Month';
  addthis_pub    = 'JHibbins';

]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">FUNCTION</span> <span style="color: #66cc66;">&#91;</span>dbo<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>LastDayOfTheMonth<span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#40;</span>@Date DATETIME <span style="color: #66cc66;">&#41;</span>
RETURNS DATETIME
BEGIN
    <span style="color: #993333; font-weight: bold;">RETURN</span> dateadd<span style="color: #66cc66;">&#40;</span>ms<span style="color: #66cc66;">,</span> <span style="color: #66cc66;">-</span><span style="color: #cc66cc;">3</span><span style="color: #66cc66;">,</span> DATEADD<span style="color: #66cc66;">&#40;</span>mm<span style="color: #66cc66;">,</span> DATEDIFF<span style="color: #66cc66;">&#40;</span>m<span style="color: #66cc66;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">,</span> @Date<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">+</span> <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
END</pre></div></div>

<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.hibbins.com%2F2009%2F11%2F23%2Ftsql-last-day-of-the-month%2F';
  addthis_title  = 'TSQL+Last+Day+Of+The+Month';
  addthis_pub    = 'JHibbins';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.hibbins.com/2009/11/23/tsql-last-day-of-the-month/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4 Coding tips</title>
		<link>http://www.hibbins.com/2009/08/26/4-coding-tips/</link>
		<comments>http://www.hibbins.com/2009/08/26/4-coding-tips/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 09:49:00 +0000</pubDate>
		<dc:creator>Jon Hibbins</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Comment]]></category>
		<category><![CDATA[Duplicates]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.hibbins.com/?p=223</guid>
		<description><![CDATA[4 Coding tips]]></description>
			<content:encoded><![CDATA[<p><strong>1: Delete It !</strong><br />
If a chunk of code comment or class is not used, don&#8217;t comment it out, just delete it.</p>
<p><strong>2: Write clear code.<br />
</strong> &#8220;make sure you document code that&#8217;s hard to understand&#8221;. Question: why is the code hard to understand?</p>
<p><strong>3: Comment </strong><br />
Comments can indeed be useful but mostly as a summary of action</p>
<p><strong>4: Don&#8217;t Repeat Yourself </strong><br />
Duplication is bad. If you have more than 4-5 lines of code that do the same thing in a single class, refactor to remove duplication.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.hibbins.com%2F2009%2F08%2F26%2F4-coding-tips%2F';
  addthis_title  = '4+Coding+tips';
  addthis_pub    = 'JHibbins';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.hibbins.com/2009/08/26/4-coding-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check if a Javascript function exists</title>
		<link>http://www.hibbins.com/2009/03/22/check-if-a-javascript-function-exists/</link>
		<comments>http://www.hibbins.com/2009/03/22/check-if-a-javascript-function-exists/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 13:40:23 +0000</pubDate>
		<dc:creator>Jon Hibbins</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Call]]></category>
		<category><![CDATA[Check]]></category>
		<category><![CDATA[Exists]]></category>
		<category><![CDATA[Function]]></category>

		<guid isPermaLink="false">http://www.hibbins.com/?p=212</guid>
		<description><![CDATA[If you want to check if a Javascript function exists before you attempt to call it and get an error try:

// Check if a Javascript function exists and run it if it does
if&#40;typeof window.Function == 'function'&#41; &#123;
    Function&#40;&#41;;
&#125;


  addthis_url    = 'http%3A%2F%2Fwww.hibbins.com%2F2009%2F03%2F22%2Fcheck-if-a-javascript-function-exists%2F';
  addthis_title  = 'Check+if+a+Javascript+function+exists';
  addthis_pub [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to check if a Javascript function exists before you attempt to call it and get an error try:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// Check if a Javascript function exists and run it if it does</span>
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">typeof</span> window.<span style="color: #003366; font-weight: bold;">Function</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">'function'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">Function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.hibbins.com%2F2009%2F03%2F22%2Fcheck-if-a-javascript-function-exists%2F';
  addthis_title  = 'Check+if+a+Javascript+function+exists';
  addthis_pub    = 'JHibbins';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.hibbins.com/2009/03/22/check-if-a-javascript-function-exists/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SVN Port TCP Port is 3690</title>
		<link>http://www.hibbins.com/2009/02/12/svn-port-tcp-port-is-3690/</link>
		<comments>http://www.hibbins.com/2009/02/12/svn-port-tcp-port-is-3690/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 10:29:43 +0000</pubDate>
		<dc:creator>Jon Hibbins</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Platform]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[3690]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[Port]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[TCP]]></category>

		<guid isPermaLink="false">http://www.hibbins.com/?p=192</guid>
		<description><![CDATA[SVN Port TCP Port is 3690]]></description>
			<content:encoded><![CDATA[<p>If you need to access SVN remotely, by default it runs on port TCP port 3690, so you need to make sure it is open in your firewall etc.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.hibbins.com%2F2009%2F02%2F12%2Fsvn-port-tcp-port-is-3690%2F';
  addthis_title  = 'SVN+Port+TCP+Port+is+3690';
  addthis_pub    = 'JHibbins';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.hibbins.com/2009/02/12/svn-port-tcp-port-is-3690/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Search Stored Procedures</title>
		<link>http://www.hibbins.com/2008/12/05/search-stored-procedures/</link>
		<comments>http://www.hibbins.com/2008/12/05/search-stored-procedures/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 09:21:50 +0000</pubDate>
		<dc:creator>Jon Hibbins</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MSSQL2005]]></category>
		<category><![CDATA[MSSQL2008]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[TSQL]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Find]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Replace]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Stored Procedures]]></category>

		<guid isPermaLink="false">http://www.hibbins.com/?p=173</guid>
		<description><![CDATA[Ever had the need to search stored procedures to find redundant tables or text that needs replacing or re-factoring ?
Here&#8217;s a script to help (Sorry for the cursor, I&#8217;m sad with myself for using it   )

-- Search string
DECLARE @SearchString nvarchar&#40;50&#41;
SET @SearchString = 'Search String'
&#160;
-- Required Declares
DECLARE @getdbname sysname
DECLARE @sqlstm nvarchar&#40;1000&#41;
DECLARE SeachCursor cursor FOR [...]]]></description>
			<content:encoded><![CDATA[<p>Ever had the need to search stored procedures to find redundant tables or text that needs replacing or re-factoring ?</p>
<p>Here&#8217;s a script to help (Sorry for the cursor, I&#8217;m sad with myself for using it <img src='http://www.hibbins.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  )</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">-- Search string</span>
DECLARE @SearchString nvarchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">50</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">SET</span> @SearchString <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'Search String'</span>
&nbsp;
<span style="color: #808080; font-style: italic;">-- Required Declares</span>
DECLARE @getdbname sysname
DECLARE @sqlstm nvarchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1000</span><span style="color: #66cc66;">&#41;</span>
DECLARE SeachCursor cursor <span style="color: #993333; font-weight: bold;">FOR</span> 
<span style="color: #808080; font-style: italic;">-- Get All The Names into the SeachCursor</span>
<span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #ff0000;">'['</span><span style="color: #66cc66;">+</span>name<span style="color: #66cc66;">+</span><span style="color: #ff0000;">']'</span> <span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #66cc66;">&#91;</span>master<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>dbo<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>sysdatabases<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> name 
OPEN SeachCursor
<span style="color: #808080; font-style: italic;">-- Add the Search Pattern</span>
<span style="color: #993333; font-weight: bold;">SET</span> @SearchString <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'%'</span> <span style="color: #66cc66;">+</span> @SearchString <span style="color: #66cc66;">+</span> <span style="color: #ff0000;">'%'</span>
<span style="color: #808080; font-style: italic;">--Get the first Name</span>
FETCH NEXT <span style="color: #993333; font-weight: bold;">FROM</span> SeachCursor <span style="color: #993333; font-weight: bold;">INTO</span> @getdbname
WHILE @@FETCH_STATUS<span style="color: #66cc66;">=</span><span style="color: #cc66cc;">0</span>
	BEGIN
	<span style="color: #808080; font-style: italic;">--set the statement to define the search condition, with variables</span>
	<span style="color: #993333; font-weight: bold;">SET</span> @sqlstm <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'
	SELECT [SP].[Specific_Catalog] AS [Database_Name], [SP].[Routine_Name] AS [Stored Procedure Name],[SP].[Routine_Definition] AS [Routine_Definition]
	FROM '</span><span style="color: #66cc66;">+</span> @getdbname<span style="color: #66cc66;">+</span><span style="color: #ff0000;">'.[Information_Schema].[Routines] AS [SP]
	WHERE PatIndex('</span><span style="color: #66cc66;">+</span><span style="color: #ff0000;">''</span><span style="color: #ff0000;">''</span><span style="color: #66cc66;">+</span>@SearchString<span style="color: #66cc66;">+</span><span style="color: #ff0000;">''</span><span style="color: #ff0000;">''</span><span style="color: #66cc66;">+</span><span style="color: #ff0000;">', [Routine_Definition]) &gt; 0'</span>
	<span style="color: #808080; font-style: italic;">--Execute the Query</span>
	EXEC <span style="color: #66cc66;">&#40;</span>@sqlstm<span style="color: #66cc66;">&#41;</span>
	FETCH NEXT <span style="color: #993333; font-weight: bold;">FROM</span> SeachCursor <span style="color: #993333; font-weight: bold;">INTO</span> @getdbname
	END
<span style="color: #808080; font-style: italic;">--Close the Cursor and Deallocate it from memory</span>
CLOSE SeachCursor
DEALLOCATE SeachCursor</pre></div></div>

<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.hibbins.com%2F2008%2F12%2F05%2Fsearch-stored-procedures%2F';
  addthis_title  = 'Search+Stored+Procedures';
  addthis_pub    = 'JHibbins';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.hibbins.com/2008/12/05/search-stored-procedures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Developer Provision Issue on Device</title>
		<link>http://www.hibbins.com/2008/08/27/iphone-developer-provision-issue-on-device/</link>
		<comments>http://www.hibbins.com/2008/08/27/iphone-developer-provision-issue-on-device/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 11:40:57 +0000</pubDate>
		<dc:creator>Jon Hibbins</dc:creator>
				<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[application-identifier]]></category>
		<category><![CDATA[Code Signing]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[Distribution]]></category>

		<guid isPermaLink="false">http://www.hibbins.com/?p=150</guid>
		<description><![CDATA[After a number of compile to iPhone device issues, specifically: &#8220;entitlement &#8216;application-identifier&#8217; has value not permitted by provisioning profile&#8221; and &#8220;Command /usr/bin/codesign failed with exit code 1&#8243;, I have worked out you can have one and only one developer provision and developer application on the iPhone at a time otherwise you get installation errors etc&#8230;
I [...]]]></description>
			<content:encoded><![CDATA[<p>After a number of compile to iPhone device issues, specifically: &#8220;entitlement &#8216;application-identifier&#8217; has value not permitted by provisioning profile&#8221; and &#8220;Command /usr/bin/codesign failed with exit code 1&#8243;, I have worked out you can have one and only one developer provision and developer application on the iPhone at a time otherwise you get installation errors etc&#8230;</p>
<p>I also had to have the correct Bundle Identifier in the Info.plist file and make sure the &#8216;Code Signing Identity&#8217; and &#8216;Code Signing Provisioning Profile&#8217; was also correct.</p>
<p>Hopefully this is useful to someone, Good Luck!!!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.hibbins.com%2F2008%2F08%2F27%2Fiphone-developer-provision-issue-on-device%2F';
  addthis_title  = 'iPhone+Developer+Provision+Issue+on+Device';
  addthis_pub    = 'JHibbins';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.hibbins.com/2008/08/27/iphone-developer-provision-issue-on-device/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Objective-C Mod Command</title>
		<link>http://www.hibbins.com/2008/08/22/objective-c-mod-command/</link>
		<comments>http://www.hibbins.com/2008/08/22/objective-c-mod-command/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 11:43:40 +0000</pubDate>
		<dc:creator>Jon Hibbins</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[Mod]]></category>

		<guid isPermaLink="false">http://www.hibbins.com/?p=145</guid>
		<description><![CDATA[If you are looking for the Objective-C Mod Command then look no further
To get the equivalent of a = b div c then :

a = b % c


  addthis_url    = 'http%3A%2F%2Fwww.hibbins.com%2F2008%2F08%2F22%2Fobjective-c-mod-command%2F';
  addthis_title  = 'Objective-C+Mod+Command';
  addthis_pub    = 'JHibbins';

]]></description>
			<content:encoded><![CDATA[<p>If you are looking for the Objective-C Mod Command then look no further</p>
<p>To get the equivalent of a = b div c then :</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;">a <span style="color: #002200;">=</span> b <span style="color: #002200;">%</span> c</pre></div></div>

<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.hibbins.com%2F2008%2F08%2F22%2Fobjective-c-mod-command%2F';
  addthis_title  = 'Objective-C+Mod+Command';
  addthis_pub    = 'JHibbins';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.hibbins.com/2008/08/22/objective-c-mod-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
