<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Having &#8220;Fun&#8221; With Job Order Numbers</title>
	<atom:link href="http://www.made2mentor.com/2008/11/having-fun-with-job-order-numbers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.made2mentor.com/2008/11/having-fun-with-job-order-numbers/</link>
	<description>Data Warehousing, Microsoft Business Intelligence, and Other Cool Stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 07:33:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: David</title>
		<link>http://www.made2mentor.com/2008/11/having-fun-with-job-order-numbers/comment-page-1/#comment-98</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 19 Nov 2008 13:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.made2mentor.com/?p=759#comment-98</guid>
		<description>Let me give you an example.  Let&#039;s say you were Alpha 3, and you had the number IZA22.  The first thing you do is separate the alphanumerics (base 36) from the numbers (base 10).  So, you end up with &quot;ZA&quot; and &quot;22&quot;, remember the I is ignored.  

When you feed ZA into the User Defined Function, you get: 1270.  However, the ZA is in the hundreds place. Therefore 1270 has to be multiplied by 100.  Afterward, you add the numerics. 

(1270*100) + 22 = 127022

I hope that helps.  Please don&#039;t hesitate to ask if you don&#039;t understand something.</description>
		<content:encoded><![CDATA[<p>Let me give you an example.  Let&#8217;s say you were Alpha 3, and you had the number IZA22.  The first thing you do is separate the alphanumerics (base 36) from the numbers (base 10).  So, you end up with &#8220;ZA&#8221; and &#8220;22&#8243;, remember the I is ignored.  </p>
<p>When you feed ZA into the User Defined Function, you get: 1270.  However, the ZA is in the hundreds place. Therefore 1270 has to be multiplied by 100.  Afterward, you add the numerics. </p>
<p>(1270*100) + 22 = 127022</p>
<p>I hope that helps.  Please don&#8217;t hesitate to ask if you don&#8217;t understand something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.made2mentor.com/2008/11/having-fun-with-job-order-numbers/comment-page-1/#comment-94</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Tue, 18 Nov 2008 18:35:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.made2mentor.com/?p=759#comment-94</guid>
		<description>I am confused.  Apparently I&#039;m on alpha 3 and I&#039;d like to understand this.  How did you come up with this?  

ELSE IF @alpha = 3
BEGIN
SET @jonos_left = (SELECT ((dbo.fn_base36(&#039;ZZ&#039;) * 100 + 9) -dbo.fn_base36(@base36) * 100 + @Numeric_Left))

END</description>
		<content:encoded><![CDATA[<p>I am confused.  Apparently I&#8217;m on alpha 3 and I&#8217;d like to understand this.  How did you come up with this?  </p>
<p>ELSE IF @alpha = 3<br />
BEGIN<br />
SET @jonos_left = (SELECT ((dbo.fn_base36(&#8216;ZZ&#8217;) * 100 + 9) -dbo.fn_base36(@base36) * 100 + @Numeric_Left))</p>
<p>END</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.made2mentor.com/2008/11/having-fun-with-job-order-numbers/comment-page-1/#comment-78</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 17 Nov 2008 18:35:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.made2mentor.com/?p=759#comment-78</guid>
		<description>I agree that the volume of job orders may change over time, but I wanted to present this information as simply as I could.  

I thought about using Crystal Reports. I would have been happy to do so, but according to my previous poll, many folks aren&#039;t fortunate enough to own it.  In the future, I may supply Excel Spreadsheets for download since nearly everyone has it. 

As for querying the other types of job order numbers, it would require a modified User Defined Function since they are not truly Base 36.  Those do omit I &amp; T so the calculations are different and more complicated.  As I said, I was attempting to make this article as simple as possible for Admins who are relatively new to T-SQL.</description>
		<content:encoded><![CDATA[<p>I agree that the volume of job orders may change over time, but I wanted to present this information as simply as I could.  </p>
<p>I thought about using Crystal Reports. I would have been happy to do so, but according to my previous poll, many folks aren&#8217;t fortunate enough to own it.  In the future, I may supply Excel Spreadsheets for download since nearly everyone has it. </p>
<p>As for querying the other types of job order numbers, it would require a modified User Defined Function since they are not truly Base 36.  Those do omit I &#038; T so the calculations are different and more complicated.  As I said, I was attempting to make this article as simple as possible for Admins who are relatively new to T-SQL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.made2mentor.com/2008/11/having-fun-with-job-order-numbers/comment-page-1/#comment-77</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 17 Nov 2008 15:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.made2mentor.com/?p=759#comment-77</guid>
		<description>Something that you may want to consider is the ever changing volume of job orders (or any other record). Hopefully your company is growing, and therefore used more numbers last year then the year before and will use even more this year.

Depending on the rate of growth (or shrinkage), your time remaining may be drastically effected. If you really wanted to get fancy it would be nice to have a single report (maybe Crystal?) that would show the estimated time remaining for all records. You could also display usage over previous time periods and show estimated end of available numbers based upon previous or expected percent growth. By using Crystal and supplying executable SQL code to make everything work, a complete novice could get their statistics. While my company does not use job numbers, it would be interesting to find out when we will run out of other records like sales orders and purchase orders.</description>
		<content:encoded><![CDATA[<p>Something that you may want to consider is the ever changing volume of job orders (or any other record). Hopefully your company is growing, and therefore used more numbers last year then the year before and will use even more this year.</p>
<p>Depending on the rate of growth (or shrinkage), your time remaining may be drastically effected. If you really wanted to get fancy it would be nice to have a single report (maybe Crystal?) that would show the estimated time remaining for all records. You could also display usage over previous time periods and show estimated end of available numbers based upon previous or expected percent growth. By using Crystal and supplying executable SQL code to make everything work, a complete novice could get their statistics. While my company does not use job numbers, it would be interesting to find out when we will run out of other records like sales orders and purchase orders.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

