Uri Dimant
3/22/2007 1:52:00 PM
Try
SET @sql1='UPDATE Table SET col=......
SET @sql2=', col=....'
EXEC(@sql1+@sql2)
"Archana" <trialproduct2004@yahoo.com> wrote in message
news:1174570925.738545.257200@l75g2000hse.googlegroups.com...
> Hi all,
>
> I want to build one update query dynamically.
>
> Length of my update query is more than 8000 character. What should i
> do to execute this query.
>
> Because using exec i am getting error.
>
> Any help will be truely appreciated.
>