SQL Server Management Studio: Increase number of characters displayed in result set

前端 未结 5 1961
独厮守ぢ
独厮守ぢ 2020-12-21 14:33

I have the following scenario: We have stored procedures which compare our developement database to our customer databases and tell us, what the difference is (so, what we h

相关标签:
5条回答
  • 2020-12-21 14:57

    No way to do that from management studio. There is a configuration option, but that is the top limit :(

    Other have asked this question before.

    0 讨论(0)
  • 2020-12-21 14:58

    You can change the size by going to the Tools/Option menu and opening the Query Results branch on the tree control. Then under the Results to Text leaf is the the “Maximum number of characters in a column” value. But I think the max is 8192.

    0 讨论(0)
  • 2020-12-21 15:04

    In Visual Studio 2010 Database projects you can add a "Schema comparisson" file. You simply point to a "source" database and "target" database and the system automatically finds any differences and can also generate the necessary sql code to update the target database.

    There might also be some freeware database comparisson tools available that might be able to do the same thing ...

    0 讨论(0)
  • 2020-12-21 15:06

    Dont think it can be done.

    For viewing your stored procedure, I would use another tool which doesn't have that limitation.

    0 讨论(0)
  • 2020-12-21 15:22

    If you really want to stay with SSMS, breakup your output to more than one column.

    0 讨论(0)
提交回复
热议问题