<?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>The Ramberlings of a Geek… &#187; Programming</title>
	<atom:link href="http://ramberlinggeek.co.uk/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://ramberlinggeek.co.uk</link>
	<description>Day-to-day life of a geek working with technology</description>
	<lastBuildDate>Tue, 31 Aug 2010 12:44:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Really?</title>
		<link>http://ramberlinggeek.co.uk/2010/07/really/</link>
		<comments>http://ramberlinggeek.co.uk/2010/07/really/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 12:32:26 +0000</pubDate>
		<dc:creator>Wayne</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[WindowsPhone]]></category>

		<guid isPermaLink="false">http://ramberlinggeek.co.uk/2010/07/really/</guid>
		<description><![CDATA[In this day and age with security and all, why does this Microsoft provided Windows Phone training kit default it’s installation path to the root? Share and Enjoy:]]></description>
			<content:encoded><![CDATA[<p><a href="http://ramberlinggeek.co.uk/wp-content/uploads/2010/07/Really_20100716_1611.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="Really_2010-07-16_1611" border="0" alt="Really_2010-07-16_1611" src="http://ramberlinggeek.co.uk/wp-content/uploads/2010/07/Really_20100716_1611_thumb.png" width="421" height="315" /></a></p>
<p> 
<p>In this day and age with security and all, why does this Microsoft provided Windows Phone training kit default it’s installation path to the root?</p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Framberlinggeek.co.uk%2F2010%2F07%2Freally%2F&amp;partner=sociable" title="Print"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Framberlinggeek.co.uk%2F2010%2F07%2Freally%2F&amp;title=Really%3F&amp;bodytext=%20%20%20%20In%20this%20day%20and%20age%20with%20security%20and%20all%2C%20why%20does%20this%20Microsoft%20provided%20Windows%20Phone%20training%20kit%20default%20it%E2%80%99s%20installation%20path%20to%20the%20root%3F" title="Digg"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Framberlinggeek.co.uk%2F2010%2F07%2Freally%2F&amp;title=Really%3F&amp;notes=%20%20%20%20In%20this%20day%20and%20age%20with%20security%20and%20all%2C%20why%20does%20this%20Microsoft%20provided%20Windows%20Phone%20training%20kit%20default%20it%E2%80%99s%20installation%20path%20to%20the%20root%3F" title="del.icio.us"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Framberlinggeek.co.uk%2F2010%2F07%2Freally%2F&amp;t=Really%3F" title="Facebook"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Framberlinggeek.co.uk%2F2010%2F07%2Freally%2F&amp;title=Really%3F&amp;annotation=%20%20%20%20In%20this%20day%20and%20age%20with%20security%20and%20all%2C%20why%20does%20this%20Microsoft%20provided%20Windows%20Phone%20training%20kit%20default%20it%E2%80%99s%20installation%20path%20to%20the%20root%3F" title="Google Bookmarks"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a  href="http://blogplay.com" title="Blogplay"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Framberlinggeek.co.uk%2F2010%2F07%2Freally%2F&amp;title=Really%3F&amp;source=The+Ramberlings+of+a+Geek%E2%80%A6+Day-to-day+life+of+a+geek+working+with+technology&amp;summary=%20%20%20%20In%20this%20day%20and%20age%20with%20security%20and%20all%2C%20why%20does%20this%20Microsoft%20provided%20Windows%20Phone%20training%20kit%20default%20it%E2%80%99s%20installation%20path%20to%20the%20root%3F" title="LinkedIn"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://ramberlinggeek.co.uk/2010/07/really/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Home Server Add-in</title>
		<link>http://ramberlinggeek.co.uk/2009/09/windows-home-server-add-in/</link>
		<comments>http://ramberlinggeek.co.uk/2009/09/windows-home-server-add-in/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 19:24:53 +0000</pubDate>
		<dc:creator>Wayne Taylor</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Windows Home Server]]></category>

		<guid isPermaLink="false">http://kryptossolutions.wordpress.com/2009/09/01/windows-home-server-add-in/</guid>
		<description><![CDATA[Here in the UK we had a bank holiday yesterday which of course meant we had 3 days off.&#160; So I spent some time with the wife over the last few days and decided that I would embark on new &#8230; <a href="http://ramberlinggeek.co.uk/2009/09/windows-home-server-add-in/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here in the UK we had a bank holiday yesterday which of course meant we had 3 days off.&#160; So I spent some time with the wife over the last few days and decided that I would embark on new project.</p>
<p>Last week I was looking at the plug-ins for Windows Home Server.&#160; I came across one which sync your pictures to flickr.&#160; Unfortunately it didn’t work that well, it only uploaded the images within the root of the folder you gave to it.</p>
<p>I looked the forums and there seem to be a lot of people requiring this plug in, but the one available was buggy and the developer hadn’t blogged since last year.</p>
<p>So I decided that I would throw something to gather.&#160; After around 8 hours approx.&#160; I have my application talking to flickr, uploading.</p>
<p>The next big milestone will figuring out how to write an Windows Home Server Addin.&#160; So while 60-70% of the application is pretty much done and working, it won’t work with WHS as intended, so time permitting I’m hoping to a full BETA version ready to go in about two weeks.</p>
<p> <img src='http://ramberlinggeek.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Framberlinggeek.co.uk%2F2009%2F09%2Fwindows-home-server-add-in%2F&amp;partner=sociable" title="Print"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Framberlinggeek.co.uk%2F2009%2F09%2Fwindows-home-server-add-in%2F&amp;title=Windows%20Home%20Server%20Add-in&amp;bodytext=Here%20in%20the%20UK%20we%20had%20a%20bank%20holiday%20yesterday%20which%20of%20course%20meant%20we%20had%203%20days%20off.%26%23160%3B%20So%20I%20spent%20some%20time%20with%20the%20wife%20over%20the%20last%20few%20days%20and%20decided%20that%20I%20would%20embark%20on%20new%20project.%20%20Last%20week%20I%20was%20looking%20at%20the%20plug-ins%20for%20Windo" title="Digg"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Framberlinggeek.co.uk%2F2009%2F09%2Fwindows-home-server-add-in%2F&amp;title=Windows%20Home%20Server%20Add-in&amp;notes=Here%20in%20the%20UK%20we%20had%20a%20bank%20holiday%20yesterday%20which%20of%20course%20meant%20we%20had%203%20days%20off.%26%23160%3B%20So%20I%20spent%20some%20time%20with%20the%20wife%20over%20the%20last%20few%20days%20and%20decided%20that%20I%20would%20embark%20on%20new%20project.%20%20Last%20week%20I%20was%20looking%20at%20the%20plug-ins%20for%20Windo" title="del.icio.us"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Framberlinggeek.co.uk%2F2009%2F09%2Fwindows-home-server-add-in%2F&amp;t=Windows%20Home%20Server%20Add-in" title="Facebook"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Framberlinggeek.co.uk%2F2009%2F09%2Fwindows-home-server-add-in%2F&amp;title=Windows%20Home%20Server%20Add-in&amp;annotation=Here%20in%20the%20UK%20we%20had%20a%20bank%20holiday%20yesterday%20which%20of%20course%20meant%20we%20had%203%20days%20off.%26%23160%3B%20So%20I%20spent%20some%20time%20with%20the%20wife%20over%20the%20last%20few%20days%20and%20decided%20that%20I%20would%20embark%20on%20new%20project.%20%20Last%20week%20I%20was%20looking%20at%20the%20plug-ins%20for%20Windo" title="Google Bookmarks"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a  href="http://blogplay.com" title="Blogplay"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Framberlinggeek.co.uk%2F2009%2F09%2Fwindows-home-server-add-in%2F&amp;title=Windows%20Home%20Server%20Add-in&amp;source=The+Ramberlings+of+a+Geek%E2%80%A6+Day-to-day+life+of+a+geek+working+with+technology&amp;summary=Here%20in%20the%20UK%20we%20had%20a%20bank%20holiday%20yesterday%20which%20of%20course%20meant%20we%20had%203%20days%20off.%26%23160%3B%20So%20I%20spent%20some%20time%20with%20the%20wife%20over%20the%20last%20few%20days%20and%20decided%20that%20I%20would%20embark%20on%20new%20project.%20%20Last%20week%20I%20was%20looking%20at%20the%20plug-ins%20for%20Windo" title="LinkedIn"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://ramberlinggeek.co.uk/2009/09/windows-home-server-add-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>T-SQL:  Calculate Hours, Mins and Secs from StartTime and EndTime</title>
		<link>http://ramberlinggeek.co.uk/2008/01/t-sql-calculate-hours-mins-and-secs-from-starttime-and-endtime/</link>
		<comments>http://ramberlinggeek.co.uk/2008/01/t-sql-calculate-hours-mins-and-secs-from-starttime-and-endtime/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 21:27:26 +0000</pubDate>
		<dc:creator>Wayne Taylor</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://kryptossolutions.wordpress.com/2008/01/13/t-sql-calculate-hours-mins-and-secs-from-starttime-and-endtime/</guid>
		<description><![CDATA[select &#160; sum(TotalSeconds) / 3600 as Hours, &#160; (sum(TotalSeconds) % 3600) / 60 as Minutes, &#160; sum(TotalSeconds) % 60 as Secondsfrom(select ArrivalTime, DepartureTime, DateDiff(second, ArrivalTime, DepartureTime) as TotalSeconds from SSRwhere CustomerID = 10) xThanks to this site for the heads &#8230; <a href="http://ramberlinggeek.co.uk/2008/01/t-sql-calculate-hours-mins-and-secs-from-starttime-and-endtime/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><font face="Courier New">select <br />&nbsp; sum(TotalSeconds) / 3600 as Hours, <br />&nbsp; (sum(TotalSeconds) % 3600) / 60 as Minutes, <br />&nbsp; sum(TotalSeconds) % 60 as Seconds<br />from<br />(<br />select ArrivalTime, DepartureTime, DateDiff(second, ArrivalTime, DepartureTime) as TotalSeconds <br />from SSR<br />where CustomerID = 10<br />) x<br /></font><br />Thanks to this <a href="http://www.sqlteam.com/article/working-with-time-spans-and-durations-in-sql-server">site</a> for the heads up.</p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Framberlinggeek.co.uk%2F2008%2F01%2Ft-sql-calculate-hours-mins-and-secs-from-starttime-and-endtime%2F&amp;partner=sociable" title="Print"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Framberlinggeek.co.uk%2F2008%2F01%2Ft-sql-calculate-hours-mins-and-secs-from-starttime-and-endtime%2F&amp;title=T-SQL%3A%20%20Calculate%20Hours%2C%20Mins%20and%20Secs%20from%20StartTime%20and%20EndTime&amp;bodytext=select%20%26nbsp%3B%20sum%28TotalSeconds%29%20%2F%203600%20as%20Hours%2C%20%26nbsp%3B%20%28sum%28TotalSeconds%29%20%25%203600%29%20%2F%2060%20as%20Minutes%2C%20%26nbsp%3B%20sum%28TotalSeconds%29%20%25%2060%20as%20Secondsfrom%28select%20ArrivalTime%2C%20DepartureTime%2C%20DateDiff%28second%2C%20ArrivalTime%2C%20DepartureTime%29%20as%20TotalSeconds%20from%20SSRw" title="Digg"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Framberlinggeek.co.uk%2F2008%2F01%2Ft-sql-calculate-hours-mins-and-secs-from-starttime-and-endtime%2F&amp;title=T-SQL%3A%20%20Calculate%20Hours%2C%20Mins%20and%20Secs%20from%20StartTime%20and%20EndTime&amp;notes=select%20%26nbsp%3B%20sum%28TotalSeconds%29%20%2F%203600%20as%20Hours%2C%20%26nbsp%3B%20%28sum%28TotalSeconds%29%20%25%203600%29%20%2F%2060%20as%20Minutes%2C%20%26nbsp%3B%20sum%28TotalSeconds%29%20%25%2060%20as%20Secondsfrom%28select%20ArrivalTime%2C%20DepartureTime%2C%20DateDiff%28second%2C%20ArrivalTime%2C%20DepartureTime%29%20as%20TotalSeconds%20from%20SSRw" title="del.icio.us"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Framberlinggeek.co.uk%2F2008%2F01%2Ft-sql-calculate-hours-mins-and-secs-from-starttime-and-endtime%2F&amp;t=T-SQL%3A%20%20Calculate%20Hours%2C%20Mins%20and%20Secs%20from%20StartTime%20and%20EndTime" title="Facebook"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Framberlinggeek.co.uk%2F2008%2F01%2Ft-sql-calculate-hours-mins-and-secs-from-starttime-and-endtime%2F&amp;title=T-SQL%3A%20%20Calculate%20Hours%2C%20Mins%20and%20Secs%20from%20StartTime%20and%20EndTime&amp;annotation=select%20%26nbsp%3B%20sum%28TotalSeconds%29%20%2F%203600%20as%20Hours%2C%20%26nbsp%3B%20%28sum%28TotalSeconds%29%20%25%203600%29%20%2F%2060%20as%20Minutes%2C%20%26nbsp%3B%20sum%28TotalSeconds%29%20%25%2060%20as%20Secondsfrom%28select%20ArrivalTime%2C%20DepartureTime%2C%20DateDiff%28second%2C%20ArrivalTime%2C%20DepartureTime%29%20as%20TotalSeconds%20from%20SSRw" title="Google Bookmarks"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a  href="http://blogplay.com" title="Blogplay"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Framberlinggeek.co.uk%2F2008%2F01%2Ft-sql-calculate-hours-mins-and-secs-from-starttime-and-endtime%2F&amp;title=T-SQL%3A%20%20Calculate%20Hours%2C%20Mins%20and%20Secs%20from%20StartTime%20and%20EndTime&amp;source=The+Ramberlings+of+a+Geek%E2%80%A6+Day-to-day+life+of+a+geek+working+with+technology&amp;summary=select%20%26nbsp%3B%20sum%28TotalSeconds%29%20%2F%203600%20as%20Hours%2C%20%26nbsp%3B%20%28sum%28TotalSeconds%29%20%25%203600%29%20%2F%2060%20as%20Minutes%2C%20%26nbsp%3B%20sum%28TotalSeconds%29%20%25%2060%20as%20Secondsfrom%28select%20ArrivalTime%2C%20DepartureTime%2C%20DateDiff%28second%2C%20ArrivalTime%2C%20DepartureTime%29%20as%20TotalSeconds%20from%20SSRw" title="LinkedIn"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://ramberlinggeek.co.uk/2008/01/t-sql-calculate-hours-mins-and-secs-from-starttime-and-endtime/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>T-SQL Queries</title>
		<link>http://ramberlinggeek.co.uk/2007/02/t-sql-queries/</link>
		<comments>http://ramberlinggeek.co.uk/2007/02/t-sql-queries/#comments</comments>
		<pubDate>Thu, 08 Feb 2007 22:57:37 +0000</pubDate>
		<dc:creator>Wayne Taylor</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://kryptossolutions.wordpress.com/2007/02/08/t-sql-queries/</guid>
		<description><![CDATA[I was trying to figure out how to get a T-SQL to allow a user to enter part of a name to query on, for example the user could enter ML, click a search button which would return all companies &#8230; <a href="http://ramberlinggeek.co.uk/2007/02/t-sql-queries/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:12pt;font-family:Times New Roman;">I was trying to figure out how to get a T-SQL to allow a user to enter part of a name to query on, for example the user could enter ML, click a search button which would return all companies with the letters ML in.<br />
</span></p>
<p><span style="font-size:12pt;font-family:Times New Roman;">I Googled this and looked on MSDN, to no avail, I knew I had achieve the desired result using access a while back, but I was pretty sure I didn&#8217;t have a company so I could check the syntax, then I recalled where a may have a copy which I did, I cracked it open and found the following:<br />
</span></p>
<p><span style="font-size:10pt;font-family:Courier New;">SELECT IngramPriceList.*<br />
FROM IngramPriceList<br />
WHERE IMPartNumber Like &#8216;*&#8217;+[?]+&#8217;*&#8217; Or ManufacturersPartNumber Like &#8216;*&#8217;+[?]+&#8217;*&#8217; Or VendorName Like &#8216;*&#8217;+[?]+&#8217;*';</span><span style="font-size:12pt;font-family:Times New Roman;"><br />
</span></p>
<p><span style="font-family:Times New Roman;"><span style="font-size:10pt;">After entering this syntax into Visual Studio 2005 Express, thinking it work it didn&#8217;t, so after reading the required syntax for LIKE in the SQL Express 2005, I came up with this working solution.</span><span style="font-size:12pt;"><br />
</span></span></p>
<p><span style="font-size:10pt;font-family:Courier New;">SELECT CustomerID, LoginName, [Company Name], StreetAddress, townName, countyName, postcode, ContractType, StartDate, FinishDate, Notes, Active</span><span style="font-size:12pt;font-family:Times New Roman;"><br />
</span></p>
<p><span style="font-size:10pt;font-family:Courier New;">FROM Customers<br />
WHERE([Company Name] LIKE &#8216;%&#8217; + @SearchText + &#8216;%&#8217;)</span><span style="font-size:12pt;font-family:Times New Roman;"><br />
</span></p>
<p><span style="font-size:12pt;"><span style="font-family:Times New Roman;">Were as Access uses &#8216;*&#8217; SQL Server uses &#8216;%&#8217; instead…. Problem fixed. </span><span style="font-family:Wingdings;">?</span><span style="font-family:Times New Roman;"><br />
</span></span></p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Framberlinggeek.co.uk%2F2007%2F02%2Ft-sql-queries%2F&amp;partner=sociable" title="Print"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Framberlinggeek.co.uk%2F2007%2F02%2Ft-sql-queries%2F&amp;title=T-SQL%20Queries&amp;bodytext=I%20was%20trying%20to%20figure%20out%20how%20to%20get%20a%20T-SQL%20to%20allow%20a%20user%20to%20enter%20part%20of%20a%20name%20to%20query%20on%2C%20for%20example%20the%20user%20could%20enter%20ML%2C%20click%20a%20search%20button%20which%20would%20return%20all%20companies%20with%20the%20letters%20ML%20in.%0A%0A%0AI%20Googled%20this%20and%20looked%20on%20MSDN" title="Digg"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Framberlinggeek.co.uk%2F2007%2F02%2Ft-sql-queries%2F&amp;title=T-SQL%20Queries&amp;notes=I%20was%20trying%20to%20figure%20out%20how%20to%20get%20a%20T-SQL%20to%20allow%20a%20user%20to%20enter%20part%20of%20a%20name%20to%20query%20on%2C%20for%20example%20the%20user%20could%20enter%20ML%2C%20click%20a%20search%20button%20which%20would%20return%20all%20companies%20with%20the%20letters%20ML%20in.%0A%0A%0AI%20Googled%20this%20and%20looked%20on%20MSDN" title="del.icio.us"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Framberlinggeek.co.uk%2F2007%2F02%2Ft-sql-queries%2F&amp;t=T-SQL%20Queries" title="Facebook"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Framberlinggeek.co.uk%2F2007%2F02%2Ft-sql-queries%2F&amp;title=T-SQL%20Queries&amp;annotation=I%20was%20trying%20to%20figure%20out%20how%20to%20get%20a%20T-SQL%20to%20allow%20a%20user%20to%20enter%20part%20of%20a%20name%20to%20query%20on%2C%20for%20example%20the%20user%20could%20enter%20ML%2C%20click%20a%20search%20button%20which%20would%20return%20all%20companies%20with%20the%20letters%20ML%20in.%0A%0A%0AI%20Googled%20this%20and%20looked%20on%20MSDN" title="Google Bookmarks"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a  href="http://blogplay.com" title="Blogplay"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Framberlinggeek.co.uk%2F2007%2F02%2Ft-sql-queries%2F&amp;title=T-SQL%20Queries&amp;source=The+Ramberlings+of+a+Geek%E2%80%A6+Day-to-day+life+of+a+geek+working+with+technology&amp;summary=I%20was%20trying%20to%20figure%20out%20how%20to%20get%20a%20T-SQL%20to%20allow%20a%20user%20to%20enter%20part%20of%20a%20name%20to%20query%20on%2C%20for%20example%20the%20user%20could%20enter%20ML%2C%20click%20a%20search%20button%20which%20would%20return%20all%20companies%20with%20the%20letters%20ML%20in.%0A%0A%0AI%20Googled%20this%20and%20looked%20on%20MSDN" title="LinkedIn"><img src="http://ramberlinggeek.co.uk/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://ramberlinggeek.co.uk/2007/02/t-sql-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
