Did my sql statement correct

Contributor
1Aug2006,14:19   #1
lieweffect's Avatar
I have a table=table1 which consists 3 columns
columns1(data)
columns2(data)
columns3(no data but created)

Now I want to update the data in columns1 into columns3
My SQL statement like this:UPDATE table1 set Column3=Column1
Isn't correct?Thank Q

Last edited by lieweffect; 1Aug2006 at 14:23..
Go4Expert Founder
1Aug2006,16:24   #2
shabbir's Avatar
Does it give any error when you run the above query.
Contributor
1Aug2006,17:32   #3
lieweffect's Avatar
actually, this only from a little test
does any software can test the sql statement whether correct or not?
Go4Expert Founder
1Aug2006,18:25   #4
shabbir's Avatar
Quote:
Originally Posted by lieweffect
does any software can test the sql statement whether correct or not?
Nope but your SQL looks correct.
Contributor
1Aug2006,18:29   #5
lieweffect's Avatar
Thank Q.....