sql server数据库一个字段ID的修改ID原来是1,2,3,.... 如何改成都是0001,0002,0003... [解决办法]查询的时候 select right(10000+id,4) as id from tablename