Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Article Discussions
»
Article Discussions by Author
»
Discuss content posted by Wayne Sheffield
»
BIT Conversions
35 posts, Page 2 of 4
««
1
2
3
4
»
»»
BIT Conversions
Rate Topic
Display Mode
Topic Options
Author
Message
JoseACJr
JoseACJr
Posted Tuesday, August 14, 2012 5:59 AM
SSC-Addicted
Group: General Forum Members
Last Login: Tuesday, June 04, 2013 11:06 AM
Points: 447,
Visits: 234
..although I have been wrong,
Good question!
Post #1344631
Dana Medley
Dana Medley
Posted Tuesday, August 14, 2012 6:41 AM
Ten Centuries
Group: General Forum Members
Last Login: Today @ 7:43 AM
Points: 1,372,
Visits: 894
I almost fell prey to the wording of the question, but after reading it twice I realized my original answers were incorrect. Thank you for the great question.
Oh no, we're toast!
I've got this. *Keyboard clatter*
Woah, how'd you do that?
I'm a DBA...Booyah
Yeah, uh huh, you know what it is. Everything I do, I do it big
Post #1344660
Thomas Abraham
Thomas Abraham
Posted Tuesday, August 14, 2012 6:43 AM
Ten Centuries
Group: General Forum Members
Last Login: Wednesday, June 12, 2013 5:11 AM
Points: 1,168,
Visits: 1,470
Excellent question. I particularly like questions, like this one, that highlight areas where the behavior is not as one might think, or is different than you might find in other languages. These are the gotchas that you have to know. Thanks!
Please don't go. The drones need you. They look up to you.
Post #1344665
mtassin
mtassin
Posted Tuesday, August 14, 2012 6:49 AM
Hall of Fame
Group: General Forum Members
Last Login: Today @ 10:09 PM
Points: 3,250,
Visits: 65,527
Good back to basics question... I'm glad I had my morning coffee first or I would have missed the 1/True bit. :)
--Mark Tassin
MCITP - SQL Server DBA
Proud member of the Anti-RBAR alliance.
For help with Performance click this link
For tips on how to post your problems
Post #1344670
GeauxCode
GeauxCode
Posted Tuesday, August 14, 2012 7:33 AM
Old Hand
Group: General Forum Members
Last Login: Friday, April 19, 2013 7:39 AM
Points: 379,
Visits: 578
davoscollective (8/14/2012)
Ack! I can explain why the 32%.
I read the question and thought the trick was about the numbers that weren't 1 or 0 and went ahead and ticked all the boxes knowing they would all be inserted.
... but not all as True.
Doh!
My fault for not answering it carefully.
+1
I should know better than to answer before my first cup of coffee...
Post #1344702
WayneS
WayneS
Posted Tuesday, August 14, 2012 7:34 AM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 9:59 PM
Points: 6,386,
Visits: 8,288
One of the things that I'm trying to learn is to write better QotD questions. It looks like most that have responded here about missing it have acknowledged not reading the question carefully. So, how could this question have been written better?
(The only thing that I can think of is to have bolded the "as a true / 1 value".)
Wayne
Microsoft Certified Master: SQL Server 2008
If you can't explain to another person how the code that you're copying from the internet works, then
DON'T USE IT
on a production system! After all,
you
will be the one supporting it!
Links:
For better assistance in answering your questions
,
How to ask a question
,
Performance Problems
,
Common date/time routines
,
CROSS-TABS and PIVOT tables Part 1
&
Part 2
,
Using APPLY Part 1
&
Part 2
,
Splitting Delimited Strings
Post #1344704
WayneS
WayneS
Posted Tuesday, August 14, 2012 7:35 AM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 9:59 PM
Points: 6,386,
Visits: 8,288
Jan.Sundbye (8/14/2012)
Good one. Once again I fell right into the trap. Must remember to RTFQ / RTFS (Read the **** Question / Statement)
Jan,
I was trying to not have a "trap". What about this question do you consider to have been a trap? (I'm trying to get better at writing these QotD's).
Wayne
Microsoft Certified Master: SQL Server 2008
If you can't explain to another person how the code that you're copying from the internet works, then
DON'T USE IT
on a production system! After all,
you
will be the one supporting it!
Links:
For better assistance in answering your questions
,
How to ask a question
,
Performance Problems
,
Common date/time routines
,
CROSS-TABS and PIVOT tables Part 1
&
Part 2
,
Using APPLY Part 1
&
Part 2
,
Splitting Delimited Strings
Post #1344706
WayneS
WayneS
Posted Tuesday, August 14, 2012 7:37 AM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 9:59 PM
Points: 6,386,
Visits: 8,288
Dana Medley (8/14/2012)
I almost fell prey to the wording of the question, but after reading it twice I realized my original answers were incorrect. Thank you for the great question.
Dana,
I'm curious about the "I almost fell prey to the wording of the question" - what was there in this question that got you feeling this way? (I'm trying to get better at writing these QotD's).
Wayne
Microsoft Certified Master: SQL Server 2008
If you can't explain to another person how the code that you're copying from the internet works, then
DON'T USE IT
on a production system! After all,
you
will be the one supporting it!
Links:
For better assistance in answering your questions
,
How to ask a question
,
Performance Problems
,
Common date/time routines
,
CROSS-TABS and PIVOT tables Part 1
&
Part 2
,
Using APPLY Part 1
&
Part 2
,
Splitting Delimited Strings
Post #1344711
sestell1
sestell1
Posted Tuesday, August 14, 2012 7:43 AM
SSC Eights!
Group: General Forum Members
Last Login: Today @ 10:00 AM
Points: 854,
Visits: 1,273
Nice question!
Post #1344716
Hugo Kornelis
Hugo Kornelis
Posted Tuesday, August 14, 2012 7:48 AM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 2:32 PM
Points: 5,293,
Visits: 7,229
WayneS (8/14/2012)
One of the things that I'm trying to learn is to write better QotD questions. It looks like most that have responded here about missing it have acknowledged not reading the question carefully. So, how could this question have been written better?
(The only thing that I can think of is to have bolded the "as a true / 1 value".)
Hi Wayne,
I see nothing wrong with this question. As long as you take the time to read the entire question, I fail to see how one could misunderstand it.
Maybe people who misread the question were only flying over the text and making assumptions on what the question is?
Hugo Kornelis, SQL Server MVP
Visit my SQL Server blog:
http://sqlblog.com/blogs/hugo_kornelis
Post #1344725
« Prev Topic
|
Next Topic »
35 posts, Page 2 of 4
««
1
2
3
4
»
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.