<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" 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:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Humor</title>
        <link>http://weblogs.sqlteam.com/jeffs/category/164.aspx</link>
        <description>Because sometimes we need to laugh at ourselves.  And others, of course!</description>
        <language>en-US</language>
        <copyright>Jeff Smith</copyright>
        <managingEditor>smith_jeffreyt@yahoo.com</managingEditor>
        <generator>Subtext Version 1.9.4.0</generator>
        <item>
            <title>Real Programmers don't need to write test applications!</title>
            <link>http://weblogs.sqlteam.com/jeffs/archive/2007/05/23/60215.aspx</link>
            <description>You are a very important, talented, enterprise-level programmer!  You write and maintain millions of lines of code, compiling your applications takes several hours, and your databases contain hundreds of tables with millions of rows.  You clearly do not have time to write silly test applications!&lt;br&gt;&lt;br&gt;&lt;a href="http://weblogs.sqlteam.com/jeffs/archive/2007/05/23/60215.aspx"&gt;read more...&lt;/a&gt;&lt;img src="http://weblogs.sqlteam.com/jeffs/aggbug/60215.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Jeff Smith</dc:creator>
            <guid>http://weblogs.sqlteam.com/jeffs/archive/2007/05/23/60215.aspx</guid>
            <pubDate>Wed, 23 May 2007 16:27:29 GMT</pubDate>
            <wfw:comment>http://weblogs.sqlteam.com/jeffs/comments/60215.aspx</wfw:comment>
            <comments>http://weblogs.sqlteam.com/jeffs/archive/2007/05/23/60215.aspx#feedback</comments>
            <slash:comments>17</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/jeffs/comments/commentRss/60215.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/jeffs/services/trackbacks/60215.aspx</trackback:ping>
        </item>
        <item>
            <title>Unique Passwords?</title>
            <link>http://weblogs.sqlteam.com/jeffs/archive/2007/04/03/Unique-Passwords.aspx</link>
            <description>&lt;a href="http://worsethanfailure.com/Articles/Really_Unique_Passwords.aspx"&gt;Today's article&lt;/a&gt; at &lt;a href="http://thedailywtf.com"&gt;WorseThanFailure.com&lt;/a&gt; is one that the SQL Server community might find enjoyable.  &lt;br /&gt;
&lt;br /&gt;
I may try to implement something similar in my next project .... or, maybe not!&lt;br /&gt;
&lt;br /&gt;
Are there another other great designs like this that you've come across?  Maybe even some that you designed yourself?  Come on, you can admit it, let us know! I won't tell anyone.  After all, no one ever reads the comments ...&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-style: italic;"&gt;see also:&lt;br /&gt;
&lt;/span&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;a href="../../../../jeffs/archive/2006/06/06/10093.aspx" title="View Entry"&gt;Discussing VB and/or MS Access in a Programming Forum&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="../../../../jeffs/archive/2005/05/24/5248.aspx" title="View Entry" id="ctl00_pageContent_Editor_Results_rprSelectionList_ctl08_HyperLink1"&gt;Top 10 Things I Hate About SQL Server&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="../../../../jeffs/archive/2005/11/10/8284.aspx" title="View Entry" id="ctl00_pageContent_Editor_Results_rprSelectionList_ctl06_HyperLink1"&gt;SQLTeam Dating Advice !&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="../../../../jeffs/archive/2007/03/28/60145.aspx" title="View Entry"&gt;Dear DBA ....&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="../../../../jeffs/archive/2007/05/23/60215.aspx" title="View Entry"&gt;Real Programmers don't need to write test applications!&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://weblogs.sqlteam.com/jeffs/aggbug/60162.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Jeff Smith</dc:creator>
            <guid>http://weblogs.sqlteam.com/jeffs/archive/2007/04/03/Unique-Passwords.aspx</guid>
            <pubDate>Tue, 03 Apr 2007 23:38:17 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/jeffs/archive/2007/04/03/Unique-Passwords.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/jeffs/comments/commentRss/60162.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/jeffs/services/trackbacks/60162.aspx</trackback:ping>
        </item>
        <item>
            <title>Dear DBA ....</title>
            <link>http://weblogs.sqlteam.com/jeffs/archive/2007/03/28/60145.aspx</link>
            <description>Dear DBA --

Thanks so much for helping us developers out with the latest changes you've made to the stored procedures in our system.  While it may have been nice if we got together first to discuss these changes, I do appreciate that you worked very hard to make things much easier for us.
&lt;br&gt;
&lt;br&gt;
&lt;a href="http://weblogs.sqlteam.com/jeffs/archive/2007/03/28/60145.aspx"&gt;read more...&lt;/a&gt;&lt;img src="http://weblogs.sqlteam.com/jeffs/aggbug/60145.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Jeff Smith</dc:creator>
            <guid>http://weblogs.sqlteam.com/jeffs/archive/2007/03/28/60145.aspx</guid>
            <pubDate>Wed, 28 Mar 2007 16:36:29 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/jeffs/archive/2007/03/28/60145.aspx#feedback</comments>
            <slash:comments>13</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/jeffs/comments/commentRss/60145.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/jeffs/services/trackbacks/60145.aspx</trackback:ping>
        </item>
        <item>
            <title>Discussing VB and/or MS Access in a Programming Forum</title>
            <link>http://weblogs.sqlteam.com/jeffs/archive/2006/06/06/10093.aspx</link>
            <description>So, you've decide to write a comment about how bad either VB and/or MS Access is in a programming forum! Well, you've come to the right place, I'm here to help.  
&lt;a href="http://weblogs.sqlteam.com/jeffs/archive/2006/06/06/10093.aspx"&gt;read more...&lt;/a&gt;&lt;img src="http://weblogs.sqlteam.com/jeffs/aggbug/10093.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Jeff Smith</dc:creator>
            <guid>http://weblogs.sqlteam.com/jeffs/archive/2006/06/06/10093.aspx</guid>
            <pubDate>Tue, 06 Jun 2006 23:52:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/jeffs/archive/2006/06/06/10093.aspx#feedback</comments>
            <slash:comments>34</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/jeffs/comments/commentRss/10093.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/jeffs/services/trackbacks/10093.aspx</trackback:ping>
        </item>
        <item>
            <title>A true MVP</title>
            <link>http://weblogs.sqlteam.com/jeffs/archive/2005/11/30/A-true-MVP.aspx</link>
            <description>&lt;p&gt;Congratulations to our good friend&amp;nbsp;&lt;a href="http://weblogs.asp.net/alex_papadimoulis"&gt;Alex Papadimoulis &lt;/a&gt;over at the asp.net weblogs on his &lt;a href="http://weblogs.asp.net/alex_papadimoulis/archive/2005/11/13/430478.aspx"&gt;Microsoft MVP&lt;/a&gt; award. Well-earned!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://weblogs.asp.net/alex_papadimoulis/archive/2005/11/13/430478.aspx"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/jeffs/aggbug/8464.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Jeff Smith</dc:creator>
            <guid>http://weblogs.sqlteam.com/jeffs/archive/2005/11/30/A-true-MVP.aspx</guid>
            <pubDate>Wed, 30 Nov 2005 22:08:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/jeffs/archive/2005/11/30/A-true-MVP.aspx#feedback</comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/jeffs/comments/commentRss/8464.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/jeffs/services/trackbacks/8464.aspx</trackback:ping>
        </item>
        <item>
            <title>SQLTeam Dating Advice !</title>
            <link>http://weblogs.sqlteam.com/jeffs/archive/2005/11/10/8284.aspx</link>
            <description>These are actual, unedited SQLTeam post subjects that you also might find in a dating forum:
&lt;br&gt;
&lt;br&gt;
&lt;a href="http://weblogs.sqlteam.com/jeffs/archive/2005/11/10/8284.aspx"&gt;read more...&lt;/a&gt;&lt;img src="http://weblogs.sqlteam.com/jeffs/aggbug/8284.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Jeff Smith</dc:creator>
            <guid>http://weblogs.sqlteam.com/jeffs/archive/2005/11/10/8284.aspx</guid>
            <pubDate>Thu, 10 Nov 2005 14:22:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/jeffs/archive/2005/11/10/8284.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/jeffs/comments/commentRss/8284.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/jeffs/services/trackbacks/8284.aspx</trackback:ping>
        </item>
        <item>
            <title>You've got to have an IDENTITY!</title>
            <link>http://weblogs.sqlteam.com/jeffs/archive/2005/11/04/8231.aspx</link>
            <description>Here's kind of a funny/scary thread over at the DailyWTF:
&lt;br&gt;&lt;br&gt;
&lt;a href="http://weblogs.sqlteam.com/jeffs/archive/2005/11/04/8231.aspx"&gt;read more...&lt;/a&gt;&lt;img src="http://weblogs.sqlteam.com/jeffs/aggbug/8231.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Jeff Smith</dc:creator>
            <guid>http://weblogs.sqlteam.com/jeffs/archive/2005/11/04/8231.aspx</guid>
            <pubDate>Sat, 05 Nov 2005 03:18:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/jeffs/archive/2005/11/04/8231.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/jeffs/comments/commentRss/8231.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/jeffs/services/trackbacks/8231.aspx</trackback:ping>
        </item>
        <item>
            <title>Top 10 Things I Hate About SQL Server</title>
            <link>http://weblogs.sqlteam.com/jeffs/archive/2005/05/24/5248.aspx</link>
            <description>By an anonymous SQL user (a guest blogger)&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;1.  SQL is too complicated!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
When I have multiple values in my columns, like "JAN,FEB,MAR" or “15,84,22” , SQL Server just doesn't get it.  It's almost impossible to write SQL statements on tables like that!  If I can manage to get any data out at all, it ends up being a 500 line SELECT statement!!  What is up with that?   And it also takes an act of God to successfully delete a value from those lists.  Why does MS make things so complicated?&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;2. Datatype conversions!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
What is the deal with data types?  I just use VARCHAR for everything, since that's the only way to avoid stupid error messages when I add data to my tables.  Works great, until I want to get the month of a date or add two numbers -- stupid SQL Server makes me convert() the value first.  How dumb is that?   SQL doesn't know how to add "12" and "5" -- it thinks it's "125" !!!!  To make things even worse, SQL Server gives me errors half the time saying it CAN'T convert!  Uh, you are a computer; you should be able to figure this stuff out.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;3.  Uh .... Formatting?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
We've all been there:  You want to right-justify a column in your SELECT -- it cannot be done without jumping through hoops!  Never mind centering, indenting, page numbers, or things like that.  Also, it is really a pain to format dates or round numbers just the way I want.  I can barely write a decent looking report using Query Analyzer, it looks like old MS-DOS text files!  Maybe it's time to move into the 21st century with some support for graphics, colors and fonts, huh Microsoft? &lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;4. Sorting is broken!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Half the time my records come back OUT OF ORDER! That’s right, not sorted by anything!  It's a mess.  SQL Server should understand that things should be sorted by lastname/firstname or by date without me having to tell it!  This is supposed to be a smart computer, right?  My users really hate this, because it’s hard to find stuff on their reports.  When they complain, I just tell them, “Hey, maybe if you weren’t so cheap and we had Oracle we wouldn’t have to deal with this Microsoft ‘feature’! ” &lt;br /&gt;
&lt;br /&gt;
To make things even worse, when I do try to sort, SQL Server thinks that “December” comes before “January”, or that “10” is less than “2”! Uh, Mr. Gates, no wonder you never release your products on schedule, you guys have no concept of how a calendar works!&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;5.  The IN() operator never works!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This one drives me nuts.  Using IN (@Var) never works right!  I never get back what I want, even though @Var clearly has a nice list of ID’s in it.  And you don't even get an error message!&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;6.  Foreign Keys Constraints !&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
For some reason, in SQL you can only update or add rows to 1 table at a time!  I can do my usual FULL OUTER JOINs with 800 tables together and go nuts with SELECTs all day long, but how about providing that feature for UPDATES and INSERTS!?  Otherwise, how can I have referential integrity?   If table A needs a matching row in table B, then how the heck do I get them in there at the exact same time?  This seems pretty silly to me.  &lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;7.  Primary Keys don't work!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This drives me nuts.  I have an identity primary key called "ID" on every table, but I still get duplicate data!   I must have 20 different entries for Vermont in my “tblStatesTable” table!  What's the point of primary keys, then?   I hope the next service release fixes this.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;8.  S-Q-L is S-L-O-W !!!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
What is the deal with how slow SQL is?  For example, to find all of the data for January in my table, I use&lt;br /&gt;
&lt;br /&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;span style="font-family: Courier New;"&gt;WHERE LTRIM(tblTable.tblTable_colMonthList) LIKE '%JAN%'&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
Pretty standard stuff.  But it takes FOREVER!  And the column is indexed!! Hey, Micro-slow, the index is supposed to make things FASTER you know!&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;9.  Cryptic Error Messages!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
So, I try to add data to my table and I get this back:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;span style="font-family: Courier New;"&gt;INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_Order_Details_Orders'. The conflict occurred in database 'Northwind', table 'Orders', column 'OrderID'.  The statement has been terminated.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
Or I try to write a simple GROUP BY and get:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;span style="font-family: Courier New;"&gt;Column 'orders.OrderID' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause. &lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
Or sometimes I build some cool dynamic SQL strings, but they don't seem to work and I get:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;span style="font-family: Courier New;"&gt;You are not allowed to truncate the system table 'master..sysobjects'.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
Hello? How about some details about what went wrong, not just cryptic mumbo-jumbo that's too long to read.  Hey, Bill Gates, how about spending some of your $$$ making sure SQL Server is bug-free and doesn't generate all these nonsense error messages!   Who has time to interpret all this crap?&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;10.  Table and Column referencing!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This one is crazy. OK, we have smart computers, right?  And we have things called variables, right?  We can store anything in these variables, even column and table names.  But this never works:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;span style="font-family: Courier New;"&gt;Select @TableName.@ColumnName from @TableName&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
Makes sense to you, makes sense to me, I don't know why SQL Server cannot figure it out!  How can I get data from 'tblCustomerNumber0121' versus 'tblCustomerNumber0122', or get data for column 'Jan2005', if I cannot use variables here!?  These things must be hard-coded!?   How the heck am I supposed to write reports with user parameters when I am limited to pre-defined table and column names!?  Come on, Micro-stupid, how about some REAL programming features in T-SQL like FULL support for variables! &lt;br /&gt;
&lt;br /&gt;
It's also a real pain to add new data to tables.  INSERT? That never works!  INSERT can't even add a new column to my tables!  How am I supposed to add data for a new month when I don't have that column yet?  Maybe SQL Server 2005 will finally address this. &lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
(Note from Jeff:  All comments are welcome, but please be sure to read some of the other comments before posting ... thanks!  It also might help to read &lt;a href="http://weblogs.sqlteam.com/jeffs/archive/2005/12/29/8634.aspx"&gt;this&lt;/a&gt; as well.)&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-style: italic;"&gt;see also:&lt;br /&gt;
&lt;/span&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;a href="../../../../jeffs/archive/2006/06/06/10093.aspx" title="View Entry"&gt;Discussing VB and/or MS Access in a Programming Forum&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="../../../../jeffs/archive/2005/11/10/8284.aspx" title="View Entry" id="ctl00_pageContent_Editor_Results_rprSelectionList_ctl06_HyperLink1"&gt;SQLTeam Dating Advice !&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="../../../../jeffs/archive/2007/03/28/60145.aspx" title="View Entry"&gt;Dear DBA ....&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="../../../../jeffs/archive/2007/05/23/60215.aspx" title="View Entry"&gt;Real Programmers don't need to write test applications!&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://weblogs.sqlteam.com/jeffs/aggbug/5248.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Jeff Smith</dc:creator>
            <guid>http://weblogs.sqlteam.com/jeffs/archive/2005/05/24/5248.aspx</guid>
            <pubDate>Tue, 24 May 2005 17:27:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/jeffs/archive/2005/05/24/5248.aspx#feedback</comments>
            <slash:comments>153</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/jeffs/comments/commentRss/5248.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/jeffs/services/trackbacks/5248.aspx</trackback:ping>
        </item>
    </channel>
</rss>