Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««123

Round up or down II Expand / Collapse
Author
Message
Posted Tuesday, August 10, 2010 2:10 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, September 30, 2014 3:20 PM
Points: 115, Visits: 747
I got one right, good! (I've used the . myself, usually as 3.0 rather than 3. for - as you say - greater clarity.)

But something went wrong with the Email version of the question, which was:
What wiil (sic) be the result when running this code?

By Hugo Kornelis

        Think you know the answer? Click here, and find out if you are right.


So how were we to know whether we knew the answer to a question that was not stated?!
Post #966994
Posted Tuesday, August 10, 2010 2:29 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 4:58 PM
Points: 6,133, Visits: 8,399
David Data (8/10/2010)
But something went wrong with the Email version of the question, which was:
What wiil (sic) be the result when running this code?

By Hugo Kornelis

        Think you know the answer? Click here, and find out if you are right.


So how were we to know whether we knew the answer to a question that was not stated?!

I posted the code of the question as a graphic, to encourage thinking and research rather than copy/paste behaviour. It seems that such graphics are not always displayed correctly in the newsletter. Why that is, would be something for Steve to find out.



Hugo Kornelis, SQL Server MVP
Visit my SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis
Post #967003
Posted Tuesday, August 10, 2010 3:50 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, September 30, 2014 3:20 PM
Points: 115, Visits: 747
Odd. I read mail using Thunderbird, which can handle HTML mail well, and the message had lots of other graphics displaying as usual.

Looking at the message 'source code', I see there IS a graphic link, but it's
img alt="" border="0" src="/Images/6388.jpg" />

The URL is missing the root http://www.sqlservercentral.com/ (which the other images do have), so it's looking for 6388.jpg on my disk instead of on SQLServerCentral's!
Post #967043
Posted Tuesday, August 10, 2010 5:05 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 4:58 PM
Points: 6,133, Visits: 8,399
That sounds like a very probably explanation to me.

I've sent a mail to Steve, asking him to check and then fix this. Thanks, David!



Hugo Kornelis, SQL Server MVP
Visit my SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis
Post #967065
Posted Tuesday, August 10, 2010 9:38 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, September 5, 2014 2:00 PM
Points: 2,160, Visits: 2,191
Thanks for the great question, and the discussion!
Post #967109
Posted Wednesday, August 11, 2010 8:01 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Monday, May 21, 2012 3:13 PM
Points: 516, Visits: 1,563
I got it wrong because I over analyzed. I thought surely it can'y be this easy, Hugo wouldn't give us a cream puff. Must be getting smarter than I give myself credit for.

Steve



Post #967428
Posted Thursday, August 12, 2010 8:23 AM


SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, March 10, 2014 4:46 AM
Points: 39, Visits: 43
Thanks, Hugo!

All clear to me now.

Reading my question now, many weeks after submitting it, I am wondering if I even should have written it like this - QotD should test SQL understanding, not reading ability

I had noticed the dot, but thought it would raise a syntax error.

By the way, I agree it's best to use pictures to ask QotDs. You don't want it to become a 'copy/paste/F5' Quiz.

Best regards,

Ronald
Post #968214
« Prev Topic | Next Topic »

Add to briefcase «««123

Permissions Expand / Collapse