<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 - Discussions by MetaGunny</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 - Discussions by MetaGunny</title>
		<link>http://channel9.msdn.com/Niners/MetaGunny/Discussions</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Niners/MetaGunny/Discussions</link>
	<language>en</language>
	<pubDate>Sat, 18 May 2013 15:17:29 GMT</pubDate>
	<lastBuildDate>Sat, 18 May 2013 15:17:29 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>0</c9:totalResults>
	<c9:pageCount>0</c9:pageCount>
	<c9:pageSize>0</c9:pageSize>
	<item>
		<title>Tech Off - SQL Transaction Blocking On Foreign Key</title>
		<description><![CDATA[<p>Stevo,</p>
<p>Well, I guess I'm looking for the proper solution.</p>
<p>For a number of reasons, I don't want to fix this by modifiying the relationship.</p>
<p>I'm looking for another answer or solution or maybe there is something that I'm missing.&nbsp; It doesn't make sense that two other relationships don't block, but this one does.</p>
<p>Thanks</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/261920-SQL-Transaction-Blocking-On-Foreign-Key/7c3d508118904352985d9dfa00c2d495#7c3d508118904352985d9dfa00c2d495</link>
		<pubDate>Tue, 01 Apr 2008 20:00:44 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/261920-SQL-Transaction-Blocking-On-Foreign-Key/7c3d508118904352985d9dfa00c2d495#7c3d508118904352985d9dfa00c2d495</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>4</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - SQL Transaction Blocking On Foreign Key</title>
		<description><![CDATA[<p>Also, I know for a fact it's blocking on the Customers table and the resource type is a KEY.</p>
<p>I ran one of those sql locking stored procedures.&nbsp; It shows a WAIT on the customers table, the key resource type.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/261920-SQL-Transaction-Blocking-On-Foreign-Key/0c185c50165c47cd8e709dfa00c2d3a8#0c185c50165c47cd8e709dfa00c2d3a8</link>
		<pubDate>Fri, 28 Mar 2008 19:26:06 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/261920-SQL-Transaction-Blocking-On-Foreign-Key/0c185c50165c47cd8e709dfa00c2d3a8#0c185c50165c47cd8e709dfa00c2d3a8</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>4</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - SQL Transaction Blocking On Foreign Key</title>
		<description><![CDATA[<p>I'll try to keep this short.&nbsp; I have about 4 inserts I'm doing.<br /><br />The first insert is into a users table in a users database.<br /><br />The second insert is into a customers table in a billing database, that returns a customer id.<br /><br />The next 3 inserts are into other tables that have customerid as a foreign key.<br /><br />The odd thing is the first two are fine.&nbsp; Which are an addresses table insert and a credit card table insert.&nbsp; I pass in the customerid and it inserts fine.<br /><br />However, the one I'm having trouble with is a table called product subscriptions.<br /><br />These are all simple inserts.&nbsp; The product subscriptions doesn't have anymore relationships than the others, and the relationships it does have doesn't have any relationships to the customers or other tables.&nbsp; It only has a relationship to products, etc.<br /><br />Now, to backup, all of these are controlled by a sqltransaction ado.net object.<br /><br />When first debugging, I commented out hte product subscriptoins insert, and it worked fine and didn't hang.<br /><br />I also tried moving it up before the other two inserts, but then it hung.<br /><br />Also, what is odd is I did a select on all tables with no locking and the product subscriptions insert is happening, the data is there.<br /><br />To get it to work, I modified the relationship to NOT ENFORCE RI on inserts or updates.<br /><br />So, it's now working.&nbsp; However, it doesn't make any sense.&nbsp; The ONLY difference I can see between the product subscriptions insert and others, is that I pass in a CODE, that I then do a select on the product tables for the product id,&nbsp;the other two I just pass
 in directly the ID.<br /><br />I know it's hard to debug this without anyone seeing the actual code.&nbsp; I thought I'd post this to see if anyone ran across a similar problem.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/261920-SQL-Transaction-Blocking-On-Foreign-Key/261920#261920</link>
		<pubDate>Fri, 28 Mar 2008 19:18:59 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/261920-SQL-Transaction-Blocking-On-Foreign-Key/261920#261920</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>4</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Silverlight On the Radio</title>
		<description><![CDATA[<p>It wasn't out of sync for me.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257593-Silverlight-On-the-Radio/b0b1bbe030754147a3e99deb00164c5d#b0b1bbe030754147a3e99deb00164c5d</link>
		<pubDate>Thu, 13 Sep 2007 18:50:35 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257593-Silverlight-On-the-Radio/b0b1bbe030754147a3e99deb00164c5d#b0b1bbe030754147a3e99deb00164c5d</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Silverlight On the Radio</title>
		<description><![CDATA[<p>I watched the Scott Guthrie video on silverlight a couple of days ago, and when he mentioned he sees bigger numbers every day from his reporting on installs, I wondered how they're getting installs&nbsp;other than the halo 3 trailer.<br>
<br>
Anyway, I listen to talk radio online for a specific radio station when I used to live in Southern CA, and I've seen several ads today for Silverlight.<br>
<br>
I guess that means Silverlight is for real and for the masses!</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257593-Silverlight-On-the-Radio/257593#257593</link>
		<pubDate>Thu, 13 Sep 2007 18:42:42 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257593-Silverlight-On-the-Radio/257593#257593</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Queue - Processing In Order</title>
		<description><![CDATA[<p>Thanks Doom.&nbsp; I'll give that a try.&nbsp; The only problem some what is I don't know the user id in the beginning but have to do some processing as well to get that.<br /><br />They could process out of order because I'm not doing the processing on a single thread, sequentially.&nbsp;&nbsp; I process through each and throw it into a thread pool</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/257405-Queue-Processing-In-Order/cebb09120f6b4a7889219dfa0089e9b0#cebb09120f6b4a7889219dfa0089e9b0</link>
		<pubDate>Thu, 06 Sep 2007 00:23:41 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/257405-Queue-Processing-In-Order/cebb09120f6b4a7889219dfa0089e9b0#cebb09120f6b4a7889219dfa0089e9b0</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Queue - Processing In Order</title>
		<description><![CDATA[<p>Okay.&nbsp; I have a question about the method that I was going to use to process items in a queue in order.<br /><br />Let's say I have a queue, with a bunch of records, doesn't matt of what.&nbsp; The main point is that each queue, let's say, belongs to a certain account, so let's say we have an AccountID with each queue item.<br /><br />It may look like this:<br /><br />Account ID, Record<br />543, 1<br />123, 2<br />543, 3<br />543, 4<br /><br />Okay, now, the main criteria here is that I don't want to process record 4 for account id 543 before record 1 is processed for account id 543.<br /><br />Basically, to keep it simple, let's just say I'm grabbing all the records and then throwing them in a thread pool.<br /><br />Here is how I was going to do the processing:<br /><br />1) The first method I was going to do is when I'm looping through the records and throwing them in the thread pool, is on each iteration only throw in unique account id's.&nbsp; So, on the first iterationof the above data, I would only throw records 1 and 2 in.&nbsp;
 The idea is that if I grab 1000 records at a time, hopefully this will help prevent locking with the second method I use.<br /><br />2).&nbsp; The second method I use is when I go to process the record, I was going to use SyncLock thread locking method&nbsp;to grab an object for that specific account id.&nbsp; So, when the the next thread comes to process that account id, it would wait until that object
 is released.<br /><br />What do you guys think?&nbsp; Or, what is a better method?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/257405-Queue-Processing-In-Order/257405#257405</link>
		<pubDate>Tue, 04 Sep 2007 19:02:37 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/257405-Queue-Processing-In-Order/257405#257405</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - More Advanced ThreadPool</title>
		<description><![CDATA[<p>Thanks guys.&nbsp; I actually don't remember having any perf problems.&nbsp; I just thought .net 2.0 might have added support for this.<br /><br />The only problem I remember with my old code was the service stopped processing.&nbsp; However, I late found that was a bug in one of the .net classes and I rewrote my service base class using another method for other services and now they never stop.<br /><br />You're right though I'll probably go the threading route rather than the threadpool.&nbsp; I've never had a problem with it dropping but it will be running on a server so that very well could happen.<br /><br />However, when you say logic processes what do you mean?&nbsp; Let's say I have a quad core, is that 4 logical processors?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/256994-More-Advanced-ThreadPool/f0cea6e8a9ad493eaea29dfa00af810a#f0cea6e8a9ad493eaea29dfa00af810a</link>
		<pubDate>Tue, 14 Aug 2007 21:34:39 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/256994-More-Advanced-ThreadPool/f0cea6e8a9ad493eaea29dfa00af810a#f0cea6e8a9ad493eaea29dfa00af810a</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - More Advanced ThreadPool</title>
		<description><![CDATA[<p>I started using .NET 2.0 a couple of months ago and I knew I had this problem coming up soon and I was hoping the threadpool was enhanced.&nbsp; It doesn't look like it was.<br /><br />Or, am I wrong and is there a more advanced threadpool or one already well written out there?<br /><br />Basically, I&nbsp;don't want to throw a million items into the threadpool uncontrolled.<br /><br />Here is going to be the flow:<br /><br />1) Pick up all of the unprocessed records in the queue from the database.&nbsp;I'd probably limit it to 10000 or so at a time.<br /><br />2) Limit it to processing 20 or so at a time.<br /><br />3) After they are all completed, go back to the database and get the next 10000.<br /><br />4) If a request comes in to stop, I want it to gracefully shut down and finish the 20 remaining items, rather than calling the join method or whatever it is to stop all threads immediately.<br /><br />The main problem is when you use the .net threadpool and call adduserworkitem it will internally queue up all of the items and there is no way to see how many are completed, or to stop them gracefully.<br /><br />The main thing is I don't want items processing while I perform the call to get the next 1000 records, that is why I want to make sure all are fully completed before going back to step 1.<br /><br />I actually wrote a threadpool manager that did this but it had some problems where it would stop processing.&nbsp; I wanted to see if there is an elegant solution built-in, or anyone had any suggestions.<br /><br />Thanks<br /><br /><br /><br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/256994-More-Advanced-ThreadPool/256994#256994</link>
		<pubDate>Tue, 14 Aug 2007 17:53:53 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/256994-More-Advanced-ThreadPool/256994#256994</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Outlook Contact AutoComplete</title>
		<description><![CDATA[<p>Is it just me, or does the outlook contact autocomplete, to be polite, not work so well?<br /><br />It's weird.&nbsp; It doesn't pop-up people that are actually in my contacts.&nbsp; Sometimes when I type the last name, then first, it may pop up what is in my contacts section of outlook.<br /><br />Other than that, it's very good at popping up suggestions for people that are NOT in my contacts, and I rarely if ever e-mail.<br /><br />For example, for some odd reason, someone that is in my contacts, and I CC on almost every e-mail, it never suggests.&nbsp; If I enter the name, when I hit send, or hit ctrl-k, it puts in the correct e-mail.<br /><br />Anyway, I wanted to see if anyone knew of a fix for this.&nbsp; I tried searching.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/256993-Outlook-Contact-AutoComplete/256993#256993</link>
		<pubDate>Tue, 14 Aug 2007 17:42:53 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/256993-Outlook-Contact-AutoComplete/256993#256993</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>1</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Excluding Validator From Validation Summary</title>
		<description><![CDATA[<p>I can't find any methods or properties to exclude a validator from being included in the validation summary.&nbsp; Anyone know how to do this?&nbsp; I'm thinking about writing my own validation summary in a sense to get around this, but though I'd check to see if
 there is a built-in method.<br /><br />I want to have a red asterisk next to the textbox that has the error, and then the error message in the validation summary.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/255311-Excluding-Validator-From-Validation-Summary/255311#255311</link>
		<pubDate>Wed, 06 Jun 2007 19:32:37 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/255311-Excluding-Validator-From-Validation-Summary/255311#255311</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>2</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Visual Studio 2002 and Visual Studio 2005 Compatibility</title>
		<description><![CDATA[<p>I believe I read somewhere it was safe to install Visual Studio .NET 2005 on the same machine as VS 2002.<br>
<br>
Is this correct?&nbsp; Has anyone had any issues?<br>
<br>
I want to continue doing&nbsp;old projects in 2002 but new projects in 2005.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/254348-Visual-Studio-2002-and-Visual-Studio-2005-Compatibility/254348#254348</link>
		<pubDate>Sat, 28 Apr 2007 07:49:04 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/254348-Visual-Studio-2002-and-Visual-Studio-2005-Compatibility/254348#254348</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Whose Bright Idea Was This?</title>
		<description><![CDATA[<p><blockquote>
<div>raymond wrote:</div>
<div>&#65279;Let the subject matter determine the length of the video.<br>
<br>
If the subject matter is only worth ten minutes, do a ten minute video.<br>
<br>
If the subject takes an hour, do an hour video.<br>
<br>
Please do not split up a video just to have three ten minutes video, where one thirty minute video would do just fine.<br>
<br>
<img src="/emoticons/emotion-11.gif" border="0"><br>
</div>
</blockquote>
<br>
<br>
Right.&nbsp; However, if someone is going to cut them up post them ALL at once.&nbsp;&nbsp; Whatever you do don't post ONE per day.&nbsp; This will gurantee you get less views of that video, and also less viewers in general on C9.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/254257-Whose-Bright-Idea-Was-This/bacba5900b4248eb88229dec0074c42a#bacba5900b4248eb88229dec0074c42a</link>
		<pubDate>Sat, 28 Apr 2007 00:09:56 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/254257-Whose-Bright-Idea-Was-This/bacba5900b4248eb88229dec0074c42a#bacba5900b4248eb88229dec0074c42a</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>30</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Whose Bright Idea Was This?</title>
		<description><![CDATA[<p>Thanks for the comments everyone.&nbsp; At first I thought everyone was going to disagree.<br>
<br>
Also, a GREAT feature would be to be able to hide the videos you've already seen.&nbsp; I was some what late to C9 until I setup the dual monitors, so I was going&nbsp;into the tags&nbsp;and trying to find all&nbsp;the videos I hadn't yet&nbsp;watched.&nbsp; I finally gave up trying to
 figure out which tags and which videos I didn't watch all of.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/254257-Whose-Bright-Idea-Was-This/c50a1530b9fc4bfbbd3f9dec0074c1fd#c50a1530b9fc4bfbbd3f9dec0074c1fd</link>
		<pubDate>Tue, 24 Apr 2007 18:37:48 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/254257-Whose-Bright-Idea-Was-This/c50a1530b9fc4bfbbd3f9dec0074c1fd#c50a1530b9fc4bfbbd3f9dec0074c1fd</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>30</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Whose Bright Idea Was This?</title>
		<description><![CDATA[<p>I definitely agree with trying new things and hope my post doesn't deter from that in the future.<br>
<br>
Minh and the others hit it on the head.&nbsp; If the content warrants it, shorter videos.&nbsp; Although, I like the longer videos as well.<br>
<br>
My situation is I work from my home office, have dual monitors, and passively listen while I program.&nbsp; I understand others may watch at night or off hours, so shorter content would be great for them, but not chopped up.<br>
<br>
Charles, keep up the great work though.&nbsp; More and more in the videos you've grown on me and anytime I hear the long winded questions coming I smile.&nbsp; I think those are good things.&nbsp; It makes people think.<br>
<br>
Also, it would be great to see more &quot;inside&quot; hard hitting detail videos about how Microsoft operates and so on.&nbsp; Sometimes I watch a video for an hour and come away thinking what did I just learn?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/254257-Whose-Bright-Idea-Was-This/6a290fb91e3e46e48a889dec0074c0de#6a290fb91e3e46e48a889dec0074c0de</link>
		<pubDate>Tue, 24 Apr 2007 04:03:20 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/254257-Whose-Bright-Idea-Was-This/6a290fb91e3e46e48a889dec0074c0de#6a290fb91e3e46e48a889dec0074c0de</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>30</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Whose Bright Idea Was This?</title>
		<description><![CDATA[<p>I apologize if my post came across like a jerk.&nbsp; I did see some content wasn't posted in the broken out parts, but I saw the first one a week or so ago with Rory and see a bunch more on the front page right now so I thought this was the route from now
 on.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/254257-Whose-Bright-Idea-Was-This/53c5689ab65b479e92089dec0074bf8e#53c5689ab65b479e92089dec0074bf8e</link>
		<pubDate>Tue, 24 Apr 2007 01:13:50 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/254257-Whose-Bright-Idea-Was-This/53c5689ab65b479e92089dec0074bf8e#53c5689ab65b479e92089dec0074bf8e</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>30</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Whose Bright Idea Was This?</title>
		<description><![CDATA[<p>I don't know whose idea it was to break the videos up into pieces but if you want to ruin channel 9 keep posting the videos this way.<br>
<br>
I'm sorry but it's absolutely idiotic.&nbsp; I used to watch videos every day while I work, now I barely watch any.&nbsp; I don't want to keep coming back and sorting through trying to find the next part.&nbsp; It's just a hassle and a pain in the butt and I'm not going to
 jump through hoops to support C9, no matter how much I like the content.<br>
<br>
Also, I mean really, what is the point?&nbsp; To help people that don't watch the whole video in one go?&nbsp; Fine, then let them watch it on their own pace and in their own &quot;parts&quot;, however they want to break it up.&nbsp; If they want to watch 15 mins here and there, let
 them, what is stopping them?&nbsp; They can watch however long they want, and later come back and&nbsp;skip ahead if they want right now.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/254257-Whose-Bright-Idea-Was-This/254257#254257</link>
		<pubDate>Tue, 24 Apr 2007 01:05:45 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/254257-Whose-Bright-Idea-Was-This/254257#254257</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>30</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Dual CPU Server Needed? Seems to Expensive</title>
		<description><![CDATA[<p>Thanks Andy.<br>
<br>
So if I buy the single cpu dual core, I should get at least the same or better performance than a dual cpu, right?<br>
<br>
Also, will it show two CPU's in task manager or one?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/252384-Dual-CPU-Server-Needed-Seems-to-Expensive/42ed79f84bd046eb95f69dea0152866b#42ed79f84bd046eb95f69dea0152866b</link>
		<pubDate>Fri, 16 Feb 2007 00:47:06 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/252384-Dual-CPU-Server-Needed-Seems-to-Expensive/42ed79f84bd046eb95f69dea0152866b#42ed79f84bd046eb95f69dea0152866b</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Dual CPU Server Needed? Seems to Expensive</title>
		<description><![CDATA[<p>I went to price a 1U server at Dell and the price seemed outrageous, about 6K.&nbsp; However, it could be because I don't understand the CPU part as much as I should.<br>
<br>
I priced a server with two cpu's (each dual core).&nbsp; However, is that really needed or is a single chip dual core the equivalent of a two cpu server before?&nbsp; (Essentially, was I pricing a real 4 way server?)<br>
<br>
Basically, my question is,&nbsp;would a single chip with dual core be about the same performance or more as an older xeon single core dual cpu server?<br>
<br>
I understand that the server I need depends on many things, my workload, what I'm using it for, etc.&nbsp; However, like I said, I thought I would want at least a dual cpu server.<br>
<br>
I bought my own personal workstation for around 3,500 a couple of years ago with a dual cpu xeon server with hyperthreading that shows as 4 CPU's, at 2GHZ.&nbsp; I think these were 2.33 ghz.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/252384-Dual-CPU-Server-Needed-Seems-to-Expensive/252384#252384</link>
		<pubDate>Thu, 15 Feb 2007 18:51:24 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/252384-Dual-CPU-Server-Needed-Seems-to-Expensive/252384#252384</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Microsoft and Walmart</title>
		<description><![CDATA[<p>First off, I disagree with your statement that Wal-Mart has bad business practices.&nbsp; They are a great company.<br>
<br>
However, the fact is that you are just not aware of the public &quot;outbursts&quot; against Wal-Mart.&nbsp; There is A LOT.&nbsp; Possibly more than Microsoft.&nbsp; They happen to be diffferent issues.&nbsp; Pay attention to politics and you'll hear a lot about Wal-Mart.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/252132-Microsoft-and-Walmart/ac218ae0889846e8961d9dec0055c465#ac218ae0889846e8961d9dec0055c465</link>
		<pubDate>Wed, 07 Feb 2007 17:48:10 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/252132-Microsoft-and-Walmart/ac218ae0889846e8961d9dec0055c465#ac218ae0889846e8961d9dec0055c465</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Multi-Core Issue?</title>
		<description><![CDATA[<p>Can someone please explain the multi-core issue?<br>
<br>
I don't understand why it's more of a programming issue now.&nbsp; Doesn't the OS just see it as another CPU and use it accordingly?&nbsp; As long as the app or game or whatever it is is multi-threaded, what else does it have to do?<br>
<br>
This seems to be more of an operating system level thing.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/251433-Multi-Core-Issue/251433#251433</link>
		<pubDate>Mon, 15 Jan 2007 23:20:11 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/251433-Multi-Core-Issue/251433#251433</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Snail Mail Microsoft A Bug?</title>
		<description><![CDATA[<p>I didn't&nbsp;feel like digging up the e-mail but below is the e-mail I sent to <a href="mailto:sqlwish@microsoft.com">
sqlwish@microsoft.com</a>.&nbsp; I'd be very curious to see if anyone can easily reproduce this bug, and if it is in fact a bug.&nbsp; If so, it's kind of scary because this is related to the core update of the actual data.<br>
<br>
Original E-Mail:<br>
<br>
<div>I just across some very odd behavior.&nbsp; I have an archived field which is a boolean, it basically indicates whether or not to show the record on the screen to the user.&nbsp; I was getting complaints that they would archive a record, but it would keep reappearing.&nbsp;
 Part of the way I had to design this was to constantly call a certain stored procedure.&nbsp; I.e., for 15 minutes I'll continue to update that record so it always has the latest information.&nbsp; That isn't relevant to the bug, but is why they would keep seeing it
 or why the update statement is called repeatedly.</div>
<div>&nbsp;</div>
<div>The table definition is attached, and the stored procedure.&nbsp; However, to test I basically reset all of the records to archive = 1, I added code to see if it was branching into the insert statement or to the update.&nbsp; It was branching to the update statement.&nbsp;
 This turned out to be very weird because I removed every possible update of the isarchived field, I had it commented at first but it was still updating so I removed every possible place.&nbsp; The only place it was in the insert statement, wherhe I know had nothing
 to do with this because a new record wasn't being inserted and I could see my record being updated based on a debug select statement returning the id that was updated and my systemdateupdated column would change.</div>
<div>&nbsp;</div>
<div>Anyway, I narrowed it down and removed and commented out of the update statement the column before (MessageText) and after (ExternalDateReceived) from the update statement.&nbsp; Boom, my isarchived no longer was being reset back to zero, it kept it's value
 of 1.&nbsp; Then, the problem was I did want to update these fields even though I didn't really have to, so I tried only updating one or the other, still happen.&nbsp; So, I said what about if I move these two columns completely into their own update statement.&nbsp; Would
 it still flip it back to zero?&nbsp; Nope, for some reason when moved to their own update statement, it doesn't modify the isarchived.
</div>
<div>&nbsp;</div>
<div>I have no triggers or any other odd stuff on the table.</div>
<div>&nbsp;</div>
<div>Here is what I used to test:</div>
<div>&nbsp;</div>
<div>SELECT * FROM TEXTMESSAGES</div>
<div>&nbsp;</div>
<div>UPDATE TEXTMESSAGES SET ISARCHIVED = 1</div>
<div>&nbsp;</div>
<div>exec [dbo].[TextMessagesCometTracker_Insert] @TEXTMESSAGETYPEID = 2, @PREFIX = 'MB', @CONTROLNUMBER = 118718, @SUFFIX = '1', @TRUCKID = 'JIMDR', @DRIVERID = '', @EQUIPMENTNUMBER = '', @CHASSISNUMBER = '', @SEALNUMBER = '', @BILLOFLADINGNUMBER = '', @CONTAINERTYPE
 = default, @PIECES = 0, @WEIGHT = 0.00, @USER1 = default, @USER2 = default, @USER3 = default, @USER4 = default, @EMPTYGOOD = 0, @LOTROW = '', @HOURSDELAYED = 0, @USERCOMMENTS = '', @DISPATCHSTATUS = '', @CREATEDISPATCH = 0, @EXTERNALSTATUS = 'ACCEPT', @CURRENTCITY
 = 'WHITTIER', @CURRENTSTATE = 'CA', @MESSAGETEXT = 'SW ~ MB-118718-1 ~ Cont#: GESU426861 ~ SS: MAEU ~ BL#:&nbsp; ~ LFD: N/A ~ Appt: 1/2/2007 1:30 PM ~ Appt #: A244277 ~ Container Pickup: BNSF LOS A, 3770 E WASHINGTON BLVD, COMMERCE ~ Lot/Loc: 1/6 ~ Remarks: CALL
 STEVE WHEN YOU GET TO THE CUSTOMER A LUMPER SERVI', @ISARCHIVED = 0, @EXTERNALDATERECEIVED = 'Jan&nbsp; 4 2007&nbsp; 1:53PM', @COMETTRACKERORDERID = '12', @COMETTRACKERORDERNUM = 'MB-118718-1', @COMETTRACKERORDERUSERID = '107238', @COMETTRACKERORDERUSERNUM = 'JIMDR',
 @COMETTRACKERORDERUSERNAME = 'JIM DRIVER', @COMETTRACKERORDERSTATUSID = '51', @COMETTRACKERORDERSTATUS = 'ACCEPT', @COMETTRACKERORDERGPSID = '6166213937', @COMETTRACKERORDERPHONEDATAID = '0'</div>
<div>&nbsp;</div>
<div>To test, I would make my modications to the stored procedure, update all records to isarchived = 1, run the select to confirm they all are 1, then run the insert stored procedure, and even though nowhere in the code as I said does it update that column,
 I would then run the seelct * from textmessages and see one value that it updated the other columns had isarchived reset back to 0.</div>
<div>&nbsp;</div>
<div>Oh yeah, I wish this bug wasn't in there.&nbsp; : )</div>
<div>&nbsp;</div>
<div>SELECT @@VERSION:</div>
<div>&nbsp;</div>
<div>Microsoft SQL Server&nbsp; 2000 - 8.00.194 (Intel X86)&nbsp;&nbsp; Aug&nbsp; 6 2000 00:57:48&nbsp;&nbsp; Copyright (c) 1988-2000 Microsoft Corporation&nbsp; Standard Edition on Windows NT 5.0 (Build 2195: Service Pack 4)
</div>
<div>&nbsp;</div>
<div>(Note, you can see the serializable in the select because I thought it could be a concurrency issue in my service.)</div>
<div>&nbsp;</div>
<div>Also, please don't reply asking for a ton of info before you try to duplicate this with the info and attachment given.</div>
<div>&nbsp;</div>
<div><br>
BELOW TEXT IN A TEXT FILE ATTACHMENT<br>
<br>
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[RefTextMessages69]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1)<br>
ALTER TABLE [dbo].[TextMessagesCometTracker] DROP CONSTRAINT RefTextMessages69<br>
GO</div>
<div>if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[RefTextMessages70]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1)<br>
ALTER TABLE [dbo].[TextMessagesQualcomm] DROP CONSTRAINT RefTextMessages70<br>
GO</div>
<div>if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TextMessages]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)<br>
drop table [dbo].[TextMessages]<br>
GO</div>
<div>CREATE TABLE [dbo].[TextMessages] (<br>
&nbsp;[TextMessageID] [int] IDENTITY (1, 1) NOT NULL ,<br>
&nbsp;[TextMessageTypeID] [tinyint] NOT NULL ,<br>
&nbsp;[Prefix] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[ControlNumber] [int] NULL ,<br>
&nbsp;[Suffix] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[InternalShortID] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[TruckID] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[DriverID] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[EquipmentNumber] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[ChassisNumber] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[SealNumber] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[BillofLadingNumber] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[ContainerType] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[Pieces] [int] NULL ,<br>
&nbsp;[Weight] [decimal](13, 4) NULL ,<br>
&nbsp;[User1] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[User2] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[User3] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[User4] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[EmptyGood] [bit] NULL ,<br>
&nbsp;[LotRow] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[HoursDelayed] [decimal](18, 2) NOT NULL ,<br>
&nbsp;[UserComments] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[DispatchStatus] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[CreateDispatch] [bit] NOT NULL ,<br>
&nbsp;[ExternalStatus] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[CurrentCity] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[CurrentState] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[MessageText] [varchar] (4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,<br>
&nbsp;[IsArchived] [bit] NOT NULL ,<br>
&nbsp;[ExternalDateReceived] [smalldatetime] NOT NULL ,<br>
&nbsp;[SystemDateInserted] [smalldatetime] NOT NULL ,<br>
&nbsp;[SystemDateUpdated] [smalldatetime] NOT NULL <br>
) ON [PRIMARY]<br>
GO</div>
<div>ALTER TABLE [dbo].[TextMessages] WITH NOCHECK ADD <br>
&nbsp;CONSTRAINT [PK_TEXTMESSAGES] PRIMARY KEY&nbsp; CLUSTERED <br>
&nbsp;(<br>
&nbsp;&nbsp;[TextMessageID]<br>
&nbsp;)&nbsp; ON [PRIMARY] <br>
GO</div>
<div>ALTER TABLE [dbo].[TextMessages] WITH NOCHECK ADD <br>
&nbsp;CONSTRAINT [DF__TextMessa__Hours__691E3D2D] DEFAULT (0) FOR [HoursDelayed],<br>
&nbsp;CONSTRAINT [DF__TextMessa__Creat__6A126166] DEFAULT (0) FOR [CreateDispatch],<br>
&nbsp;CONSTRAINT [DF__TextMessa__IsArc__6B06859F] DEFAULT (0) FOR [IsArchived],<br>
&nbsp;CONSTRAINT [DF__TextMessa__Exter__6BFAA9D8] DEFAULT (getdate()) FOR [ExternalDateReceived],<br>
&nbsp;CONSTRAINT [DF__TextMessa__Syste__6CEECE11] DEFAULT (getdate()) FOR [SystemDateInserted],<br>
&nbsp;CONSTRAINT [DF__TextMessa__Syste__6DE2F24A] DEFAULT (getdate()) FOR [SystemDateUpdated]<br>
GO</div>
<div>ALTER TABLE [dbo].[TextMessages] ADD <br>
&nbsp;CONSTRAINT [RefTextMessageTypes63] FOREIGN KEY <br>
&nbsp;(<br>
&nbsp;&nbsp;[TextMessageTypeID]<br>
&nbsp;) REFERENCES [dbo].[TextMessageTypes] (<br>
&nbsp;&nbsp;[TextMessageTypeID]<br>
&nbsp;)<br>
GO</div>
<div><br>
DROP PROCEDURE TextMessagesCometTracker_Insert<br>
GO<br>
CREATE PROCEDURE TextMessagesCometTracker_Insert<br>
&nbsp;@TEXTMESSAGETYPEID TINYINT, -- BEGIN TEXT MESSAGES<br>
&nbsp;@PREFIX VARCHAR(50) = NULL,<br>
&nbsp;@CONTROLNUMBER INT = NULL,<br>
&nbsp;@SUFFIX VARCHAR(50) = NULL,<br>
&nbsp;@TRUCKID VARCHAR(50) = NULL,<br>
&nbsp;@DRIVERID VARCHAR(50) = NULL,<br>
&nbsp;@EQUIPMENTNUMBER VARCHAR(50) = NULL,<br>
&nbsp;@CHASSISNUMBER VARCHAR(50) = NULL,<br>
&nbsp;@SEALNUMBER VARCHAR(50) = NULL,<br>
&nbsp;@BILLOFLADINGNUMBER VARCHAR(50) = NULL,<br>
&nbsp;@CONTAINERTYPE VARCHAR(50) = NULL,<br>
&nbsp;@PIECES INT = NULL,<br>
&nbsp;@WEIGHT DECIMAL(18, 2) = NULL,<br>
&nbsp;@USER1 VARCHAR(50) = NULL,<br>
&nbsp;@USER2 VARCHAR(50) = NULL,<br>
&nbsp;@USER3 VARCHAR(50) = NULL,<br>
&nbsp;@USER4 VARCHAR(50) = NULL,<br>
&nbsp;@EMPTYGOOD BIT = NULL,<br>
&nbsp;@LOTROW VARCHAR(50) = NULL,<br>
&nbsp;@HOURSDELAYED DECIMAL(18, 2) = 0,<br>
&nbsp;@USERCOMMENTS VARCHAR(255) = NULL,<br>
&nbsp;@DISPATCHSTATUS VARCHAR(50) = NULL,<br>
&nbsp;@CREATEDISPATCH BIT,<br>
&nbsp;@EXTERNALSTATUS VARCHAR(50) = NULL,<br>
&nbsp;@CURRENTCITY VARCHAR(255) = NULL,<br>
&nbsp;@CURRENTSTATE VARCHAR(255) = NULL,<br>
&nbsp;@MESSAGETEXT VARCHAR(4000) = NULL,<br>
&nbsp;@ISARCHIVED BIT = 0,<br>
&nbsp;@EXTERNALDATERECEIVED SMALLDATETIME, -- END TEXT MESSAGES<br>
&nbsp;@COMETTRACKERORDERID VARCHAR(50) = NULL, -- BEGIN TEXT MESSAGES COMET TRACKER<br>
&nbsp;@COMETTRACKERORDERNUM VARCHAR(50) = NULL,<br>
&nbsp;@COMETTRACKERORDERUSERID VARCHAR(50) = NULL,<br>
&nbsp;@COMETTRACKERORDERUSERNUM VARCHAR(50) = NULL,<br>
&nbsp;@COMETTRACKERORDERUSERNAME VARCHAR(50) = NULL,<br>
&nbsp;@COMETTRACKERORDERSTATUSID VARCHAR(50) = NULL,<br>
&nbsp;@COMETTRACKERORDERSTATUS VARCHAR(50) = NULL,<br>
&nbsp;@COMETTRACKERORDERGPSID VARCHAR(50) = NULL,<br>
&nbsp;@COMETTRACKERORDERPHONEDATAID VARCHAR(50) = NULL -- END TEXT MESSAGES COMET TRACKER<br>
AS</div>
<div>SET NOCOUNT ON</div>
<div>DECLARE @TEXTMESSAGEID INT<br>
DECLARE @INTERNALSHORTID VARCHAR(50)</div>
<div>IF (SELECT TOP 1 TEXTMESSAGEEXPORTIDTYPEID FROM TEXTMESSAGEUNIVERSE) = 1 -- DRIVER ID<br>
BEGIN<br>
&nbsp;SET @INTERNALSHORTID = @DRIVERID<br>
END<br>
ELSE<br>
BEGIN<br>
&nbsp;SET @INTERNALSHORTID = @TRUCKID<br>
END</div>
<div>IF NOT EXISTS (SELECT TOP 1 'T' FROM TEXTMESSAGES TM (SERIALIZABLE) INNER JOIN TEXTMESSAGESCOMETTRACKER TMC (SERIALIZABLE) ON TM.TEXTMESSAGEID = TMC.TEXTMESSAGEID WHERE CAST(TMC.ORDERID AS INT) = CAST(@COMETTRACKERORDERID AS INT) AND CAST(TMC.ORDERSTATUSID
 AS INT) = CAST(@COMETTRACKERORDERSTATUSID AS INT))<br>
BEGIN<br>
&nbsp;INSERT INTO TEXTMESSAGES <br>
&nbsp;(TEXTMESSAGETYPEID, PREFIX, CONTROLNUMBER, SUFFIX, INTERNALSHORTID, TRUCKID, DRIVERID, EQUIPMENTNUMBER, CHASSISNUMBER, SEALNUMBER, BILLOFLADINGNUMBER, CONTAINERTYPE,<br>
&nbsp; PIECES, WEIGHT, USER1, USER2, USER3, USER4, EMPTYGOOD, LOTROW, HOURSDELAYED, USERCOMMENTS, DISPATCHSTATUS, CREATEDISPATCH, EXTERNALSTATUS,<br>
&nbsp; CURRENTCITY, CURRENTSTATE, MESSAGETEXT, ISARCHIVED, EXTERNALDATERECEIVED, SYSTEMDATEINSERTED, SYSTEMDATEUPDATED)<br>
&nbsp;VALUES<br>
&nbsp;(@TEXTMESSAGETYPEID, @PREFIX, @CONTROLNUMBER, @SUFFIX, @INTERNALSHORTID, @TRUCKID, @DRIVERID, @EQUIPMENTNUMBER, @CHASSISNUMBER, @SEALNUMBER, @BILLOFLADINGNUMBER, @CONTAINERTYPE,<br>
&nbsp; @PIECES, @WEIGHT, @USER1, @USER2, @USER3, @USER4, @EMPTYGOOD, @LOTROW, @HOURSDELAYED, @USERCOMMENTS, @DISPATCHSTATUS, @CREATEDISPATCH, @EXTERNALSTATUS,<br>
&nbsp; @CURRENTCITY, @CURRENTSTATE, @MESSAGETEXT, @ISARCHIVED, @EXTERNALDATERECEIVED, GETDATE(), GETDATE())<br>
&nbsp;<br>
&nbsp;SET @TEXTMESSAGEID = @@IDENTITY<br>
&nbsp;<br>
&nbsp;INSERT INTO TEXTMESSAGESCOMETTRACKER<br>
&nbsp;(TEXTMESSAGEID, ORDERID, ORDERNUM, ORDERUSERID, ORDERUSERNUM, ORDERUSERNAME,<br>
&nbsp; ORDERSTATUSID, ORDERSTATUS, ORDERGPSID, ORDERPHONEDATAID, SYSTEMDATEINSERTED, SYSTEMDATEUPDATED)<br>
&nbsp;VALUES<br>
&nbsp;(@TEXTMESSAGEID, @COMETTRACKERORDERID, @COMETTRACKERORDERNUM, @COMETTRACKERORDERUSERID, @COMETTRACKERORDERUSERNUM, @COMETTRACKERORDERUSERNAME,<br>
&nbsp; @COMETTRACKERORDERSTATUSID, @COMETTRACKERORDERSTATUS, @COMETTRACKERORDERGPSID, @COMETTRACKERORDERPHONEDATAID, GETDATE(), GETDATE())<br>
END<br>
ELSE<br>
BEGIN<br>
&nbsp;-- LOGIC IS CONFUSING BELOW BECAUSE AT ONE TIME SUPPORTED MULTIPLE EXISTING ORDER STATUSES AT ONE TIME<br>
&nbsp;-- WHERE WE WOULD ARCHIVE THE PREVIOUS ONE, NOW WE ONLY SUPPORT ONE AND CONTINUALLY UPDATE THAT ONE</div>
<div>&nbsp;SELECT TOP 1 @TEXTMESSAGEID = TM.TEXTMESSAGEID<br>
&nbsp;FROM TEXTMESSAGES TM (SERIALIZABLE)<br>
&nbsp;INNER JOIN TEXTMESSAGESCOMETTRACKER TMC (SERIALIZABLE) ON TM.TEXTMESSAGEID = TMC.TEXTMESSAGEID<br>
&nbsp;WHERE CAST(TMC.ORDERID AS INT) = CAST(@COMETTRACKERORDERID AS INT) AND CAST(TMC.ORDERSTATUSID AS INT) = CAST(@COMETTRACKERORDERSTATUSID AS INT)<br>
&nbsp;ORDER BY TM.SYSTEMDATEINSERTED DESC</div>
<div>&nbsp;UPDATE TEXTMESSAGES SET <br>
&nbsp;INTERNALSHORTID = @INTERNALSHORTID,<br>
&nbsp;TRUCKID = @TRUCKID,<br>
&nbsp;DRIVERID = @DRIVERID,<br>
&nbsp;EQUIPMENTNUMBER = @EQUIPMENTNUMBER,<br>
&nbsp;CHASSISNUMBER = @CHASSISNUMBER,<br>
&nbsp;SEALNUMBER = @SEALNUMBER,<br>
&nbsp;BILLOFLADINGNUMBER = @BILLOFLADINGNUMBER,<br>
&nbsp;CONTAINERTYPE = @CONTAINERTYPE,<br>
&nbsp;PIECES = @PIECES,<br>
&nbsp;WEIGHT = @WEIGHT,<br>
&nbsp;USER1 = @USER1,<br>
&nbsp;USER2 = @USER2,<br>
&nbsp;USER3 = @USER3,<br>
&nbsp;USER4 = @USER4,<br>
&nbsp;EMPTYGOOD = @EMPTYGOOD,<br>
&nbsp;LOTROW = @LOTROW,<br>
&nbsp;HOURSDELAYED = @HOURSDELAYED,<br>
&nbsp;USERCOMMENTS = @USERCOMMENTS,<br>
&nbsp;EXTERNALSTATUS = @EXTERNALSTATUS,<br>
&nbsp;CURRENTCITY = @CURRENTCITY,<br>
&nbsp;CURRENTSTATE = @CURRENTSTATE,<br>
&nbsp;--MESSAGETEXT = @MESSAGETEXT,<br>
&nbsp;--EXTERNALDATERECEIVED = @EXTERNALDATERECEIVED,<br>
&nbsp;SYSTEMDATEUPDATED = GETDATE()<br>
&nbsp;WHERE TEXTMESSAGEID = @TEXTMESSAGEID</div>
<div>&nbsp;UPDATE TEXTMESSAGES SET <br>
&nbsp;MESSAGETEXT = @MESSAGETEXT,<br>
&nbsp;EXTERNALDATERECEIVED = @EXTERNALDATERECEIVED<br>
&nbsp;WHERE TEXTMESSAGEID = @TEXTMESSAGEID</div>
<div>&nbsp;UPDATE TEXTMESSAGESCOMETTRACKER SET <br>
&nbsp;ORDERID = @COMETTRACKERORDERID,<br>
&nbsp;ORDERNUM = @COMETTRACKERORDERNUM,<br>
&nbsp;ORDERUSERID = @COMETTRACKERORDERUSERID,<br>
&nbsp;ORDERUSERNUM = @COMETTRACKERORDERUSERNUM,<br>
&nbsp;ORDERUSERNAME = @COMETTRACKERORDERUSERNAME,<br>
&nbsp;ORDERSTATUSID = @COMETTRACKERORDERSTATUSID,<br>
&nbsp;ORDERSTATUS = @COMETTRACKERORDERSTATUS,<br>
&nbsp;ORDERGPSID = @COMETTRACKERORDERGPSID,<br>
&nbsp;ORDERPHONEDATAID = @COMETTRACKERORDERPHONEDATAID,<br>
&nbsp;SYSTEMDATEUPDATED = GETDATE()<br>
&nbsp;WHERE TEXTMESSAGEID = @TEXTMESSAGEID<br>
END</div>
<div>IF @TEXTMESSAGEID IS NULL OR @TEXTMESSAGEID = 0<br>
BEGIN<br>
&nbsp;SELECT TOP 1 @TEXTMESSAGEID = TM.TEXTMESSAGEID<br>
&nbsp;FROM TEXTMESSAGES TM (SERIALIZABLE)<br>
&nbsp;INNER JOIN TEXTMESSAGESCOMETTRACKER TMC (SERIALIZABLE) ON TM.TEXTMESSAGEID = TMC.TEXTMESSAGEID<br>
&nbsp;WHERE CAST(TMC.ORDERID AS INT) = CAST(@COMETTRACKERORDERID AS INT) AND CAST(TMC.ORDERSTATUSID AS INT) = CAST(@COMETTRACKERORDERSTATUSID AS INT)<br>
&nbsp;ORDER BY TM.SYSTEMDATEINSERTED DESC<br>
END</div>
<div>RETURN @TEXTMESSAGEID</div>
<div>SET NOCOUNT OFF</div>
<div>GO<br>
</div></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/251311-Snail-Mail-Microsoft-A-Bug/cdd8666e5bfd440caaf49dec00492b50#cdd8666e5bfd440caaf49dec00492b50</link>
		<pubDate>Wed, 10 Jan 2007 20:36:43 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/251311-Snail-Mail-Microsoft-A-Bug/cdd8666e5bfd440caaf49dec00492b50#cdd8666e5bfd440caaf49dec00492b50</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Apple and vendor lock-down?</title>
		<description><![CDATA[<p>I think there are a couple of things here:<br>
<br>
1) People will always hate and attack whoever is on top.&nbsp; That is just a fact of life.&nbsp; People cheer for the underdog.&nbsp; I would say Microsoft doesn't put &quot;enough&quot; into the&nbsp;default installation of the&nbsp;operating system.&nbsp; It's annoying that when I need to help
 my brother who is computer illiterate I have to go and download an ftp client, winzip, and so on.<br>
<br>
Also, I would say people overcher or exaggerate the underdog, or the people that are competing with Microsoft.&nbsp; In this case google or apple, and they make to much of it.&nbsp; This reminds me of a movie I watched where some kid became the manager, and he idoloized
 a certain player that wasn't doing well and was faced with having to kick him off the team.&nbsp; He said no he is going to come back, and at a game the kid went crazy when he got a decent hit and made it to first base, and the manager said isn't that overcheering
 a sign that it is time?<br>
<br>
2) Of course it's vendor lock-in but there is nothing wrong with that.&nbsp; They can do it just because they want to make more money or force people to buy their hardware.&nbsp; That could make them more money, or it could hurt them.&nbsp; There are also some advantages
 to that such as the level of hardware integration and not have to deal with the problems msft does in terms of a million different device drivers out there.&nbsp;
<br>
<br>
Also, it may be a function of the market in the sense that they really have to, and unlike msft, can't rely on third parties to pop-up and do stuff for them.&nbsp; It's just completley different business models.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/251312-Apple-and-vendor-lock-down/a29a17e092f1493d8f379dec00492cb7#a29a17e092f1493d8f379dec00492cb7</link>
		<pubDate>Tue, 09 Jan 2007 21:23:55 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/251312-Apple-and-vendor-lock-down/a29a17e092f1493d8f379dec00492cb7#a29a17e092f1493d8f379dec00492cb7</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>21</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Snail Mail Microsoft A Bug?</title>
		<description><![CDATA[<p>Okay.&nbsp; I've been meaning to register and make a post but something finally pushed me to.<br>
<br>
I heard about channel 9 and watched a video here and there.&nbsp; But what really got me going and I've watched a ton of videos since is getting a dual monitor setup and a faster internet connection.&nbsp; Being able to get&nbsp;the faster internet connection was due to moving.&nbsp;
<br>
<br>
Anyway, the point is I've watched all these videos and it seems like Microsoft really wants to hear from people.&nbsp; I had this problem that was bugging me for awhile where the users would complain off and on for awhile.&nbsp; I would try to fix it, couldn't find it,
 nothing looked wrong.&nbsp; Finally, I had to fix it, and I think I actually found a bug in sql server 2000 with how it actually updates the data, so not a trivial bug.<br>
<br>
I e-mail it to Microsoft and after a back and forth they tell me to snail&nbsp;mail it to them!!&nbsp; I almost fell over laughing, a technology company telling me to snail mail them a bug.&nbsp; To be fair, they also said I could call up but this isn't something I can explain
 over the phone.&nbsp; That is why in the e-mail I provided a sample table create script and the stored procedure.<br>
<br>
Anyway, I just thought that was funny.&nbsp; I'd love to see more videos about the inside part of Microsoft or more about how the actual hardware works.&nbsp; A good example of the inside is the video where the guy who debugs microsoft.com is interviewed.&nbsp; Also, it's
 great having Rory.&nbsp; It seems like he has the same viewpoint that I come from, in terms of just being a business developer and always wondering how games are made, device drivers, etc.<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/251311-Snail-Mail-Microsoft-A-Bug/251311#251311</link>
		<pubDate>Tue, 09 Jan 2007 20:22:38 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/251311-Snail-Mail-Microsoft-A-Bug/251311#251311</guid>
		<dc:creator>MetaGunny</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MetaGunny/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>