none
What you see is not what you get? RRS feed

  • Question

  • Hi everybody,

    This is a weird issue. Please take a look at this thread

    http://social.msdn.microsoft.com/Forums/et-EE/transactsql/thread/5aa97f30-216d-4216-93e0-c3eb43dbed18

    Copy the code and post into SSMS. I got some weird ---- before each line that was converted to ??? in the result. However, I don't see these characters in the code and I even pressed Edit button and code button to copy that code - I still get these weird characters which I don't see in the code and I doubt they were there.

    Do you know what can be the reason?

    I am using Google Chrome.


    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog

    Tuesday, October 16, 2012 4:14 AM
    Moderator

Answers

  • Copy the code and post into SSMS.

    Does it matter which example we choose to copy from?   ;  )

    Do you know what can be the reason?

    FWIW I often have to first paste HTML into Notepad and then copy and paste from there in order to make it usable and not just text.   Does doing that help clarify your symptom?

    Alternatively, does  "SSMS"  have a Paste Special command you can try?  Doing that would help you see what Clipboard formats Google Chrome was giving you.   It would be nice if W7 still had Clipbrd.exe so we could view what was being passed via the ClipBoard.   The closest that we have by default now that I know about is  WordPad.exe which is not the same...   Wow.  What a difference!   (Paste Special, Unformatted.)   Try that?   It might be even more to your liking than using the Notepad idea.


     
    HTH

     
    Robert
    ---

    Tuesday, October 16, 2012 8:18 PM

All replies

  • Hello Naomi,

    I am using Internet Explorer and when I copy the T-SQL code, I don't see ??? before each line or any other unusually signs.

    When I go on "quote" and check the Html code it also looks quite well, nothing unusually.


    Olaf Helper

    Blog Xing

    Tuesday, October 16, 2012 5:55 AM
  • Strange indeed. I re-tested in Google Chrome and in IE and I still get these characters in SSMS. But when I copy this text here, it was OK.

    I used SSMS 2008 R2. 


    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog

    Tuesday, October 16, 2012 11:59 AM
    Moderator
  • Copy the code and post into SSMS.

    Does it matter which example we choose to copy from?   ;  )

    Do you know what can be the reason?

    FWIW I often have to first paste HTML into Notepad and then copy and paste from there in order to make it usable and not just text.   Does doing that help clarify your symptom?

    Alternatively, does  "SSMS"  have a Paste Special command you can try?  Doing that would help you see what Clipboard formats Google Chrome was giving you.   It would be nice if W7 still had Clipbrd.exe so we could view what was being passed via the ClipBoard.   The closest that we have by default now that I know about is  WordPad.exe which is not the same...   Wow.  What a difference!   (Paste Special, Unformatted.)   Try that?   It might be even more to your liking than using the Notepad idea.


     
    HTH

     
    Robert
    ---

    Tuesday, October 16, 2012 8:18 PM
  • That problem was with that particular thread. A similar code in another message of that thread didn't produce an error.

    I may play with your suggestions later tonight, it's not a big problem, I just got curious.

    BTW, SSMS doesn't have Paste Special. 


    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog


    Tuesday, October 16, 2012 8:26 PM
    Moderator