zhen_id  zhen_name      
001 城关镇 
002 金村乡 
003 林山乡 
004 音坑乡

解决方案 »

  1.   

    UPDATE TB SET ZHEN_NAME=ZHEN_ID
      

  2.   

    update tb set zhen_name=ltrim(zhen_id)?
      

  3.   

    update tb set zhen_name=zhen_id
      

  4.   


    select zhen_id , zhen_name=zhen_id from tb   ?
      

  5.   


    update tb set zhen_name=zhen_id
      

  6.   

    update tb 
    set zhen_name=zhen_id
      

  7.   

    UPDATE TB SET zhen_name=zhen_ID????
      

  8.   

    if object_id('test') is not null 
      drop table test
    create table test
    (
     zhen_id varchar(10),
     zhen_name varchar(20)
    )insert test 
    select '001','城关镇' union all
    select '002','金村乡' union all
    select '003','林山乡' union all
    select '004','音坑乡'select * from testselect zhen_id,zhenname=(zhen_id) from test/**
    zhen_id    zhenname   
    ---------- ---------- 
    001        001
    002        002
    003        003
    004        004(所影响的行数为 4 行)
    **/
    楼主问题没问清?