• babak3334000 (10/7/2013)


    Just change the column name in all tables should be

    The way you change column names in a table is with sp_rename. There's no command that automagically changes the column name in all tables, you have to do it one by one with sp_rename.

    I suppose you could drop and recreate all the tables to change the column names, but I suspect that's a little more work.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass