database - SQL Server update statement won't update table -


i have server running enterprise version of sql server 2012. took backup of production database 2 days ago test migration script. worked beautifully

the same database 2 days newer failed today because first step of process update records.

 update troopgirls   set gsusaid = '00000000000'+gsusaid   len(gsusaid) = 1 

is 1 such statement.

running statement updated(61) records every time

i've run inside transaction frame commit, used go statements, messed transaction isolation levels, no avail.

there no locks anywhere in database , process running against database query window.

right clicking table , saying 'edit top 200 rows' work. problem have update in range of 750k records across many tables , schemas.

if "gsusaid" varchar/nvarchar column, concat function work updating it.

update troopgirls  set gsusaid = concat('00000000000', gsusaid) len(gsusaid) = 1 

Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -