The Joy of Blog Feedback
Introduction
I have been writing my little blog here for some time now, and my favorite part of doing this is of course the feedback. It's always great to hear from the readers, to have mistakes corrected, to debate various topics and techniques, and to learn a lot about SQL and the various topics I discuss here.
At this point, I have received over 1,700 comments over the years, and while all of them are truly appreciated, I have noticed that unfortunately many of the, uh, less helpful comments do seem to consistently fall neatly into various categories.
Let's take a look at an example of a simple, typical blog post and some of the responses that often come back. If you write a blog of your own, or often read the feedback from other blogs, many of these may seem familiar to you.
A Typical Blog Post
For example, to only return rows for CustomerID 345, you can write:
SELECT ...
FROM YourTable
WHERE CustomerID = 345
As you can see, it is very simple. You can use any boolean expression to filter the results as needed. Try it out! If you have any questions, let me know.
Some Typical Responses
The subtle blog spammer (that you initially mistake for a nice complement):
The person who doesn't seem to get it:
The person that really doesn't get it:
The script kiddie (who just wants to cut and paste your code, not read or learn anything):
The very clichéd, mindless "anti-Microsoft ranter":
The "skimmer" (who just skims the post missing most of it):
The "repeater" (who just repeats what you've already written):
The "know-it-all complainer":
The random, unrelated question asker:
The "misunderstander":
The very rare polite and helpful typo alerter:
The much more common typo alerter:
Please, don't misunderstand, I mean this all in good fun. I love feedback, and please, keep it coming. It's what makes this and every other blog a fun place to visit.
In fact, I realize that I left out the most annoying feedback of all! That's right, the Thin-Skinned, Overly-Defensive Blog Author Who Feels the Need to Respond to Everything:
Legacy Comments
Tara
2008-06-06 |
re: The Joy of Blog Feedback My sentiments exactly! |
Don R. Watters
2008-06-06 |
re: The Joy of Blog Feedback What an idiot! You're a loser Jeff. You totally missed the reformatter! Everyone knows that you're supposed to do it this way: SELECT . ,. ,. FROM YourTable WHERE CustomerID = 345; |
Jack D Corbett
2008-06-06 |
re: The Joy of Blog Feedback Nice post. It is nice to know that you read the comments. I notice that you have a link to the Red Sox Foundation nicely placed where commenters can see it. I'll have to assume you are a fellow Red Sox fan. That makes me more likely to continue to read your blog. BTW - I figure anyone who is willing to take the time to try to contribute to the community for nothing should be commended, regardless of the quality of the content. It takes some courage to put your opinions and knowledge out there when there are so many critics. |
Bob Hopkins
2008-06-09 |
re: The Joy of Blog Feedback I hope this will fall into a new category that makes you continue to love comments. I have learned a tremendous amount from reading your blog over the past several months. In fact, I am back today to completely absorb a post that answers something I have wondered how to do for a long time. I really appreciate your dedication. |
Mary
2008-06-10 |
re: The Joy of Blog Feedback Thanks for the chuckle! |
Mary
2008-06-10 |
re: The Joy of Blog Feedback One more (serious) comment about your first response type. Are you so sure it's spam? I'm a software developer but I'm also into eating right. I blog about how I feed my family healthy food on a budget. I read your blog regularly and usually leave my URL when posting a comment (I'm ashamed to right now because I haven't updated my blog in two weeks.) Personally I like to click on people's URL's when perusing the comments. Sometimes someone posts something insightful or funny and I wind up sidetracked yet totally delighted with a new find on the web. Agreed that it's annoying to click on said URL and wind up with a screaming headline promising megabucks working one hour from home ... |
Paing
2008-06-11 |
re: The Joy of Blog Feedback LOL funny man ..this is my first time visiting ur blog.. but im pretty sure that i will be visiting here so soon |
Jeff
2008-06-11 |
re: The Joy of Blog Feedback Hi Mary-- That's the problem -- you never know for sure! Sometimes it is tricky to figure out. |
Zack Jones
2008-06-13 |
re: The Joy of Blog Feedback I tried to run your query in my table but I don't have a column called ... You need to debug your code before posting it for the world to see! :) :) :) |
BjoernS
2008-07-09 |
re: The Joy of Blog Feedback Thanks for the good advice, Jeff, but consider the following: CREATE VIEW Customer345 AS SELECT * FROM Customer WHERE CustomerID = 345 Your original, complex query now simplifies to SELECT * FROM Customer345 which is more readable and easier to maintain. If you happen to have more than one customer in your table (which is rarely the case), I can show you some really cool dynamic sql to create the according views. Also note that you now have encapsulation and hide implementation details from other users who may want to use your query. Only thing we have to worry about: what happens if new customers enter the table? Well that's what triggers are for, aren't they? Luckily we only need an INSERT trigger, no need to mess around with UPDATE and DELETE triggers! Finally, due to our gain in simplicity we don't have to handle confusing stuff like GROUP BY and ORDER BY, since we ensured that our views never contain more than one row! Hope that helps, Bjoern |
mario
2008-07-13 |
re: The Joy of Blog Feedback i'm surprised i have not seen your blog sooner via google, other links etc. you have really good stuff! (well not this particular article lol). |