SQL Server 2008 Express (shared hosting) Times Out When Changing Data Type on Field -
i'm changing bad design on table. field i'm trying change holds iis7 session id's long numbers. i'm trying change field nvarchar(20) int. there 349,000 records in table.
sql server management studio times out after 35 seconds. however, if check query timeout setting connection set @ 600 seconds (and can't change either).
is there timeout setting causing problem?
here's error message i'm getting: - unable modify table.
timeout expired. timeout period elapsed prior completion of operation or server not responding.
i've been able change several other tables no problem. of course, had fewer rows.
this database on shared hosting package @ arvixe.com. think part of problem?
can try run t-sql script instead of doing using visual designer?
alter table dbo.yourtable alter column yourcolumn int
now, only work if all rows valid int
values! otherwise, it'll bomb out @ point....
to check if rows valid int, run query:
select * dbo.yourtable isnumeric(yourcolumn) = 0
this select rows not valid numerics ... if rows here, have problem...
Comments
Post a Comment