none
Doubling Words RRS feed

Answers

All replies

  • I don't understand, what do you mean by 'doubles up'?
    Community Forums Program Manager
    Saturday, November 26, 2011 8:40 PM
    Answerer
  • See image below: sp_spaceused doubles up at line break.  If I copy and paste it to SSMS query editor, it is not double (and should not be).


    Kalman Toth, SQL Server & Business Intelligence Training; SQL 2008 GRAND SLAM
    Saturday, November 26, 2011 9:30 PM
  • I'm not seeing the same thing. The statement is one one line for me, no word wrapping, and sp_spaceused is not repeated. Also, your font is different from mine.

     


    Richard Mueller - MVP Directory Services
    Saturday, November 26, 2011 10:02 PM
    Moderator
  • Richard,

    The idea occured to me that it is related to screen resolution. Nevertheless it happens as the image shows. My resolution is 1024x768.

     


    Kalman Toth, SQL Server & Business Intelligence Training; SQL 2008 GRAND SLAM
    Sunday, November 27, 2011 1:00 AM
  • I also didn't see any word wraping or repeatation of 'sp_speaceused'.

    Please let me know if this doesn’t work for you. Hope I have answered you correctly.
     
    Thanks,
    Hasham

    Sunday, November 27, 2011 1:09 AM
    Moderator
  • My font is the same as Hasham's. Notice it is not fixed width, so the single quotes are very difficult to read. My screen resolution is 1366x768. I'm thinking the font makes a difference, although I use Courier New all the time for code and have never seen a problem. But your fixed width font is not in the forum html, but rather from your browser (I think). The code insert button does not result in fixed width font.

     


    Richard Mueller - MVP Directory Services
    Sunday, November 27, 2011 1:18 AM
    Moderator
  • I didn't get the problem either. Works fine for me.
    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog
    Sunday, November 27, 2011 1:26 AM
    Moderator
  • It does not happen (does not wrap) at higher resolution. It happens at lower resolution (800x600) as well. IE9 Windows 7. This is  the html:

    <div style="color:Black;background-color:White;"><pre>
    <span style="color:Blue;">EXEC</span> AdventureWorks..sp_MSforeachtable <span style="color:#A31515;">&#39;EXEC sp_spaceused &#39;</span><span style="color:#A31515;">&#39;?&#39;</span><span style="color:#A31515;">&#39;;&#39;</span>
    
    </pre></div>
    
    

     


    Kalman Toth, SQL Server & Business Intelligence Training; SQL 2008 GRAND SLAM

    • Edited by Kalman Toth Sunday, November 27, 2011 5:16 AM
    Sunday, November 27, 2011 5:14 AM
  • So then is this reported as a bug? It might not be devastating enough to fix, but I'd think it should at least be noted.

    Thanks!


    Ed Price a.k.a User Ed, Microsoft Experience Program Manager (Blog, Twitter, Wiki)
    Friday, December 9, 2011 8:12 AM
    Owner