TSQL get definition for loooong sp

时间:2015-10-30 22:52:21

标签: sql-server-2012

I successfully used this code but now I'm dealing with huge sp and I see that results truncated, probably limited to some 5K limit?? How I can store it all?

Thanks much

SELECT name, OBJECT_DEFINITION(object_id) 
FROM sys.objects 
WHERE name LIKE 'p_my_big_sp_2000lines%'

0 个答案:

没有答案