<?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>felix ker&#039;s blog &#187; Programming</title>
	<atom:link href="http://felixker.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://felixker.com</link>
	<description>Codes, Life, Love, Media, Money, Tips &#38; Tricks, Web 2.0 &#38; all</description>
	<lastBuildDate>Sun, 06 Nov 2011 07:25:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>SQL Server Management Studio 2008: Saving changes is not permitted (Solution)</title>
		<link>http://felixker.com/programming/sql-server-management-studio-2008-saving-changes-is-not-permitted-solution/</link>
		<comments>http://felixker.com/programming/sql-server-management-studio-2008-saving-changes-is-not-permitted-solution/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 01:45:06 +0000</pubDate>
		<dc:creator>Felix Ker</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[database design]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[how-to-grow-taller]]></category>
		<category><![CDATA[Solution]]></category>
		<category><![CDATA[SQL Server Management Studio 2008]]></category>

		<guid isPermaLink="false">http://felixker.com/?p=1935</guid>
		<description><![CDATA[I&#8217;ve been using SQL Server 2008 for a month or two, and until recently, I got really irritated as I was unable to re-design some tables I found wasn&#8217;t performing the way I want it to. (I&#8217;m still trying to learn database designing to improve efficiency!) The solution is below. Saving changes is not permitted. [...]


Related posts:<ol><li><a href='http://felixker.com/life-tips-and-tricks/8-money-saving-tips-spend-less-get-more/' rel='bookmark' title='Permanent Link: 8 Money Saving Tips: Spend less, Get more!'>8 Money Saving Tips: Spend less, Get more!</a></li>
<li><a href='http://felixker.com/daily-rants/lunar-calendar-15th-november/' rel='bookmark' title='Permanent Link: Lunar Calendar: 15th November'>Lunar Calendar: 15th November</a></li>
<li><a href='http://felixker.com/daily-rants/my-lunch-experience-at-burger-king-sucks/' rel='bookmark' title='Permanent Link: My lunch experience at the Burger King sucks'>My lunch experience at the Burger King sucks</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using SQL Server 2008 for a month or two, and until recently, I got really irritated as I was unable to re-design some tables I found wasn&#8217;t performing the way I want it to. (I&#8217;m still trying to learn database designing to improve efficiency!) The solution is below.</p>
<p>Saving changes is not permitted. The changed you have made require the following tables to be dropped and re-created. You have either made changes to a table that can&#8217;t be re-created or <strong>enabled the option Prevent saving changes that require the table to be re-created</strong>.</p>
<blockquote><p>Solution:<br />
Tools -> Options -> <em>Untick</em> &#8220;Prevent saving changes that require table re-creation&#8221; and you will be able to save changes!
</p></blockquote>
<p>I learnt one thing about myself. I&#8217;m often time too lazy to read the whole paragraph of the error message. The part I highlighted in bold actually taught me how to fix the problem, but I ignored it. I only found out when I was typing the whole error message out. I must change this aspect of myself, else I&#8217;m going to waste time googling for solutions.</p>
<p>[<a href="http://blogs.bikecrawler.com/2009/05/16/save-is-not-permitted-in-sql-server-2008/" rel="nofollow external" target="_blank" class="liexternal">via</a>]</p>
<p>---<br />Related Articles at felix ker&#039;s blog:<ul><li><a href="http://felixker.com/technology/are-you-already-using-windows-xp-service-pack-2-sp2/" rel="bookmark" title="Permanent Link: Are you already using Windows XP Service Pack 2 (SP2)?">Are you already using Windows XP Service Pack 2 (SP2)?</a></li><li><a href="http://felixker.com/daily-rants/2008-whats-up/" rel="bookmark" title="Permanent Link: 2008 &#8211; Whats up?">2008 &#8211; Whats up?</a></li><li><a href="http://felixker.com/technology/what-programs-do-you-use-most-frequently/" rel="bookmark" title="Permanent Link: What programs do you use most frequently?">What programs do you use most frequently?</a></li><li><a href="http://felixker.com/events/happy-new-year-2008/" rel="bookmark" title="Permanent Link: Happy New Year 2008!">Happy New Year 2008!</a></li><li><a href="http://felixker.com/free-ubuntu-cd-in-singapore-malaysia/" rel="bookmark" title="Permanent Link: Free Ubuntu CD in Singapore &#038; Malaysia">Free Ubuntu CD in Singapore &#038; Malaysia</a></li></ul></p><br />

<p>Related posts:<ol><li><a href='http://felixker.com/life-tips-and-tricks/8-money-saving-tips-spend-less-get-more/' rel='bookmark' title='Permanent Link: 8 Money Saving Tips: Spend less, Get more!'>8 Money Saving Tips: Spend less, Get more!</a></li>
<li><a href='http://felixker.com/daily-rants/lunar-calendar-15th-november/' rel='bookmark' title='Permanent Link: Lunar Calendar: 15th November'>Lunar Calendar: 15th November</a></li>
<li><a href='http://felixker.com/daily-rants/my-lunch-experience-at-burger-king-sucks/' rel='bookmark' title='Permanent Link: My lunch experience at the Burger King sucks'>My lunch experience at the Burger King sucks</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://felixker.com/programming/sql-server-management-studio-2008-saving-changes-is-not-permitted-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to generate random password (VB.Net/C#[ASP.Net]/PHP)</title>
		<link>http://felixker.com/technology/net/how-to-generate-random-password-vbnetcaspnetphp/</link>
		<comments>http://felixker.com/technology/net/how-to-generate-random-password-vbnetcaspnetphp/#comments</comments>
		<pubDate>Sat, 29 Mar 2008 14:33:48 +0000</pubDate>
		<dc:creator>Felix Ker</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[ASp.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Generate]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[vb.net]]></category>

		<guid isPermaLink="false">http://felixker.com/net/how-to-generate-random-password-vbnetcaspnetphp/</guid>
		<description><![CDATA[Lately I was googling for the shortest and simplest way of generating some random passwords. So here we go. I&#8217;ll share with you what I found and how I applied them. VB.Net Public Function GenerateRandomPassword(ByVal length as Integer) as String Dim strGuid as String = System.Guid.NewGuid().ToString() strGuid= strGuid.Replace(&#8220;-&#8221;, String.Empty) Return strGuid.Substring(0, length) End Function C# [...]


Related posts:<ol><li><a href='http://felixker.com/so-random/php-what-did-i-learn/' rel='bookmark' title='Permanent Link: PHP &#8211; What did I learn?'>PHP &#8211; What did I learn?</a></li>
<li><a href='http://felixker.com/so-random/7-random-facts-about-me/' rel='bookmark' title='Permanent Link: 7 Random Facts about Me'>7 Random Facts about Me</a></li>
<li><a href='http://felixker.com/so-random/random-news-2903/' rel='bookmark' title='Permanent Link: Random news 29/03'>Random news 29/03</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Lately I was googling for the shortest and simplest way of generating some random passwords. So here we go. I&#8217;ll share with you what I found and how I applied them.</p>
<p><strong>VB.Net</strong></p>
<blockquote><p>Public Function GenerateRandomPassword(ByVal length as Integer) as String<br />
Dim strGuid as String = System.Guid.NewGuid().ToString()<br />
strGuid= strGuid.Replace(&#8220;-&#8221;, String.Empty)<br />
Return strGuid.Substring(0, length)<br />
End Function</p></blockquote>
<p><span id="more-1353"></span></p>
<p><strong>C#</strong></p>
<blockquote><p>public string GenerateRandomPassword(int length)<br />
{<br />
string strGuid = System.Guid.NewGuid().ToString();<br />
strGuid = strGuid.Replace(&#8220;-&#8221;, string.Empty);<br />
return guidResult.Substring(0, length);<br />
}</p></blockquote>
<p><strong>Explanation (for VB.Net and C#)</strong></p>
<p>For C# and VB.Net, they both utilise .Net&#8217;s System.Guid class. (Correct me if I&#8217;m wrong) NewGuid().ToString() returns a string of 32 hexadecimals (excluding the &#8220;-&#8221;).</p>
<p>Although its only 0-9 and A-F, I like it as it&#8217;s a very simple way to generate the password of my desired length.</p>
<p>Now, let&#8217;s move on to PHP. For PHP, it can be very simple too!</p>
<p><strong>PHP</strong></p>
<blockquote><p>function createRandomPassword($length) {<br />
return substr(md5(date(&#8220;D dS M,Y h:i:s a&#8221;)),0,$length);<br />
}</p></blockquote>
<p>Did you see how short things can be?</p>
<p><strong>Explanation (for PHP)</strong></p>
<p>Firstly, I&#8217;m generating a string from Datetime with a simple format. Next, I&#8217;ll md5 it. You can choose to sha1 it, which is the same. And finally to choose a length of password. Thats all.</p>
<p><strong>Disadvantages for my way of generating (for C#, VB.Net and PHP)</strong></p>
<ol>
<li>Only &#8220;A-F&#8221;. But it doesn&#8217;t really matter to me.</li>
<li>Maximum length of 32. You can ofcourse re-generate, but who will need such a long password?</li>
</ol>
<p>Generating passwords can be simple, right? What other ways can you share with me?</p>
<p>---<br />Related Articles at felix ker&#039;s blog:<ul><li><a href="http://felixker.com/so-random/7-random-facts-about-me/" rel="bookmark" title="Permanent Link: 7 Random Facts about Me">7 Random Facts about Me</a></li><li><a href="http://felixker.com/so-random/something-random/" rel="bookmark" title="Permanent Link: Something random">Something random</a></li><li><a href="http://felixker.com/so-random/randomness/" rel="bookmark" title="Permanent Link: Randomness">Randomness</a></li><li><a href="http://felixker.com/daily-rants/just-another-random-update/" rel="bookmark" title="Permanent Link: Just another random update">Just another random update</a></li><li><a href="http://felixker.com/technology/felixkercom-hacked-defaced-and-how-to-prevent-hacking/" rel="bookmark" title="Permanent Link: felixker.com hacked &amp; defaced and how to prevent hacking">felixker.com hacked &amp; defaced and how to prevent hacking</a></li></ul></p><br />

<p>Related posts:<ol><li><a href='http://felixker.com/so-random/php-what-did-i-learn/' rel='bookmark' title='Permanent Link: PHP &#8211; What did I learn?'>PHP &#8211; What did I learn?</a></li>
<li><a href='http://felixker.com/so-random/7-random-facts-about-me/' rel='bookmark' title='Permanent Link: 7 Random Facts about Me'>7 Random Facts about Me</a></li>
<li><a href='http://felixker.com/so-random/random-news-2903/' rel='bookmark' title='Permanent Link: Random news 29/03'>Random news 29/03</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://felixker.com/technology/net/how-to-generate-random-password-vbnetcaspnetphp/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc
Database Caching 11/56 queries in 0.041 seconds using memcached
Object Caching 1185/1256 objects using apc
Content Delivery Network via a.felixker.com

Served from: felixker.com @ 2012-02-10 06:20:32 -->
