When I runSELECT DATALENGTH(Definition)FROM sys.sql_modulesWHERE Object_ID IN (SELECT Object_IDFROM sys.all_objectsWHERE Schema_ID = '36' --created by UserA)
in either text or grid mode, the same results are returned. (In a real world case, datalength is 1128).However, when I run it without datalength,SELECT DefinitionFROM sys.sql_modulesWHERE Object_ID IN (SELECT Object_IDFROM sys.all_objectsWHERE Schema_ID = '36' --created by UserA)
Then I cannot see the entire code definition in text view, only in grid view. (The text version result is truncated). How do I change text view to allow for the entire definition?