Sql 2005 Extended Properties

  • Under SSMS I can add simple text and carriage returns to an extended property associated with a column and SSMS preserves the <CRLF> formatting that I used. But when I try to read this same text using, for example,

    SELECT name, value FROM ::fn_listextendedproperty

    (NULL, 'schema', 'dbo', 'table', 'Customers', 'column', 'CompanyName')

     

    I find that "value" has the <CRLF>'s removed! What am I doing wrong here?

     

    TIA,

     

    Bill

     

  • Are you displaying the output of your query in "Text Mode" in SSMS?

    Grid mode (the default) could remove the crlf's for display reasons


    Julian Kuiters
    juliankuiters.id.au

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply