Declare
@tb
Table
(Name
Varchar
(
20
),Memo
VARCHAR
(
20
))
INSERT INTO @tb SELECT ' 老公 ' , ' 男人 '
INSERT INTO @tb SELECT ' 老婆 ' , ' 女人 '
SELECT * FROM @tb
Update @tb SET Name = Memo,Memo = Name
SELECT * FROM @tb
INSERT INTO @tb SELECT ' 老公 ' , ' 男人 '
INSERT INTO @tb SELECT ' 老婆 ' , ' 女人 '
SELECT * FROM @tb
Update @tb SET Name = Memo,Memo = Name
SELECT * FROM @tb