<?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>youdidwhatwithtsql.com &#187; TinyURL</title>
	<atom:link href="http://www.youdidwhatwithtsql.com/tag/tinyurl/feed" rel="self" type="application/rss+xml" />
	<link>http://www.youdidwhatwithtsql.com</link>
	<description>making DBAs everywhere curse!</description>
	<lastBuildDate>Sat, 24 Jul 2010 16:26:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Using TinyURL with Tweet-SQL</title>
		<link>http://www.youdidwhatwithtsql.com/using-tinyurl-with-tweet-sql/77</link>
		<comments>http://www.youdidwhatwithtsql.com/using-tinyurl-with-tweet-sql/77#comments</comments>
		<pubDate>Sun, 26 Apr 2009 15:17:19 +0000</pubDate>
		<dc:creator>Rhys</dc:creator>
				<category><![CDATA[Tweet-SQL]]></category>
		<category><![CDATA[TinyURL]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/using-tinyurl-with-tweet-sql/77</guid>
		<description><![CDATA[As every post to Twitter is limited to 140 characters it’s important we are able to squeeze as much as we can out of it. To help users of Tweet-SQL with this I’ve integrated TinyURL into version 2 of the product. Here’s how you use it; ?View Code TSQLDECLARE @long_url NVARCHAR&#40;1000&#41;, @short_url NVARCHAR&#40;100&#41;; &#160; SET [...]<p>Post from: <a href="http://www.youdidwhatwithtsql.com">youdidwhatwithtsql.com</a><br/><br/><a href="http://www.youdidwhatwithtsql.com/using-tinyurl-with-tweet-sql/77">Using TinyURL with Tweet-SQL</a></p>
]]></description>
			<content:encoded><![CDATA[<p>As every post to <a href="http://twitter.com" target="_blank">Twitter</a> is limited to <a href="http://www.140characters.com/2008/11/13/hello-world/" target="_blank">140 characters</a> it’s important we are able to squeeze as much as we can out of it. <font color="#000000">To help users of <a href="http://www.tweet-sql.com/" target="_blank">Tweet-SQL</a> with this I’ve integrated <a href="http://tinyurl.com/" target="_blank">TinyURL</a> into <a href="http://www.tweet-sql.com/download.php" target="_blank">version 2</a> of the product. Here’s how you use it;</font></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p77code2'); return false;">View Code</a> TSQL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p772"><td class="code" id="p77code2"><pre class="tsql" style="font-family:monospace;"><span style="color: #0000FF;">DECLARE</span> @long_url <span style="color: #0000FF;">NVARCHAR</span><span style="color: #808080;">&#40;</span><span style="color: #000;">1000</span><span style="color: #808080;">&#41;</span>,
	@short_url <span style="color: #0000FF;">NVARCHAR</span><span style="color: #808080;">&#40;</span><span style="color: #000;">100</span><span style="color: #808080;">&#41;</span>;  
&nbsp;
<span style="color: #0000FF;">SET</span> @long_url <span style="color: #808080;">=</span> <span style="color: #FF0000;">'http://rover.ebay.com/rover/1/711-53200-19255-0/1?type=3&amp;amp;campid=5336224516&amp;amp;toolid=10001&amp;amp;customid=tiny-hp&amp;amp;ext=unicycle&amp;amp;satitle=unicycle'</span>;  
&nbsp;
<span style="color: #008080;">-- Make the long url short! </span>
<span style="color: #0000FF;">EXEC</span> dbo.<span style="color: #202020;">tweet_util_shortenUrl</span> @long_url, @short_url <span style="color: #0000FF;">OUTPUT</span>;
&nbsp;
<span style="color: #0000FF;">SELECT</span> @short_url <span style="color: #0000FF;">AS</span> TinyURL;</pre></td></tr></table></div>

<p><a href="http://www.youdidwhatwithtsql.com/wp-content/uploads/2009/04/image6.png"><img title="Using TinyURL with Tweet-SQL" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="68" alt="Using TinyURL with Tweet-SQL" src="http://www.youdidwhatwithtsql.com/wp-content/uploads/2009/04/image-thumb6.png" width="244" border="0" /></a></p>
<p><map name='google_ad_map_77_a45beff5d2e172f6'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/77?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_77_a45beff5d2e172f6' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=77&amp;url=http%3A%2F%2Fwww.youdidwhatwithtsql.com%2Fusing-tinyurl-with-tweet-sql%2F77' title="Using TinyURL with Tweet SQL" alt=" Using TinyURL with Tweet SQL" /></p><p>Post from: <a href="http://www.youdidwhatwithtsql.com">youdidwhatwithtsql.com</a><br/><br/><a href="http://www.youdidwhatwithtsql.com/using-tinyurl-with-tweet-sql/77">Using TinyURL with Tweet-SQL</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youdidwhatwithtsql.com/using-tinyurl-with-tweet-sql/77/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
