{"id":198,"date":"2009-01-22T18:21:04","date_gmt":"2009-01-22T16:21:04","guid":{"rendered":"https:\/\/www.sqlinthewild.co.za\/?p=198"},"modified":"2009-01-22T18:21:04","modified_gmt":"2009-01-22T16:21:04","slug":"bad-advice","status":"publish","type":"post","link":"https:\/\/www.sqlinthewild.co.za\/index.php\/2009\/01\/22\/bad-advice\/","title":{"rendered":"Bad Advice"},"content":{"rendered":"<p>It&#8217;s no secret that I&#8217;ve been fairly active on a couple of SQL forums for a couple of years. In that time I&#8217;ve seen all sorts of behaviour on forums, good and bad. By this point, most of that just doesn&#8217;t bother me any longer. There is one thing however that still gets me angry when I see it. Blatently bad advice.<\/p>\n<p>Now, I&#8217;m not talking about first-attempt solutions that solve half of the query problem, I&#8217;m not talking about honest mistakes and I&#8217;m not talking about attempted answers to questions so vague they&#8217;re near-impossible to understand. I&#8217;m talking about advice that&#8217;s so bad it&#8217;s dangerous. I&#8217;m talking about things like this:<\/p>\n<p>Q: My transaction log&#8217;s very large. What can I do to fix this?<br \/>\nA: Stop SQL, find the ldf file, delete it and then start SQL<\/p>\n<p>Q: Dropping a clustered index on a large table takes a long time using drop index. Is there a faster way?<br \/>\nA: Run sp_configure &#8220;allow updates, 1 and then run delete from sysindexes where id = OBJECT_ID(&#8216;MyTableName&#8217;) AND indid = 1<\/p>\n<p>Ouch!<\/p>\n<p>There&#8217;s two main problems with bad advice.<\/p>\n<p>Firstly, the person asking possibly doesn&#8217;t understand enought to realise the advice is risky, and if they follow it without testing they could end up in a much worse situation than they were. Dependiong on the circumstances they may end up in trouble with their boss, they may even end up getting fired. Whether they realise the advice is bad before or after trying it out, it&#8217;ll erode their faith both in the forum and in the person who provided the information. That leads to the the second problem.<\/p>\n<p>The second problem is damaged credibility and reputation. A good reputation is so hard to get in this industry and so easy to lose. Bad advice damages the forum&#8217;s reputation and the reputation of the person posting the advice. <a href=\"http:\/\/www.brentozar.com\/archive\/2008\/11\/so-you-wanna-be-a-rock-roll-star-part-2\/\">Brent Ozar<\/a> puts it very well: &#8220;Being an expert means having credibility. It doesn\u2019t matter how much you know if people don\u2019t trust your answers.&#8221;<\/p>\n<p>Then, of course, some other person on the forum has to come along and correct the bad advice and explain why it&#8217;s bad so that people who find the thread via google won&#8217;t think it&#8217;s useful<\/p>\n<p>Bottom line, bad advice helps no one and hurts a number of people.<\/p>\n<p>&lt;\/soapbox&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s no secret that I&#8217;ve been fairly active on a couple of SQL forums for a couple of years. In that time I&#8217;ve seen all sorts of behaviour on forums, good and bad. By this point, most of that just&#8230; <a class=\"read-more-button\" href=\"https:\/\/www.sqlinthewild.co.za\/index.php\/2009\/01\/22\/bad-advice\/\">(Read more)<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[],"class_list":["post-198","post","type-post","status-publish","format-standard","hentry","category-rants"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7h6n-3c","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/posts\/198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/comments?post=198"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/posts\/198\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/media?parent=198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/categories?post=198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/tags?post=198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}