column datatype changed

  • We are planning to change datatype for column (say col1) of table ( say table1)

    Old datatype - int

    new datatype - varchar(10)

    How to identify which store proc will be affected by this column change?

  • Try this:

    select distinct o.name, o.type_desc from sys.objects o

    where OBJECT_DEFINITION(o.object_id) like '%col1%'

    order by o.name

    Greg

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

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