衫 衫菜 Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-12 #1 我有个表A,字段ID是自动增长型,字段XH是NUMBER型, 我想把ID 的值付给XH, 我用UPDATE A SET XH=ID,可是老是说类型错误, 请问应该怎么办?
Q QuickSilver Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-12 #3 update a set xh=cast(id as float)
土 土土 Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-12 #4 update a set xh=convert(float,id )