旧数据表中的数据插入到新数据表中如下:
TwitterHot--新数据表
TwitterPerson--旧数据表
INSERT INTO TwitterHot(UName,UID,CataID,addDate) SELECT UName,UID,CataID,addDate FROM dbo.TwitterPerson
旧数据表中的数据插入到新数据表中如下:
TwitterHot--新数据表
TwitterPerson--旧数据表
INSERT INTO TwitterHot(UName,UID,CataID,addDate) SELECT UName,UID,CataID,addDate FROM dbo.TwitterPerson