You shouldn't have a from clause in an update statement, a where clause is normal. The first line is a valid statement and was executed. The second line is rubbish and should have thrown some sort of error however a lot of compilers will just drop it with no warnings. It depends on the environment that you are working in. MySQL, php or perl do strange things every now and then because they predominantly work in a web server environment. How were you executing the statement?



Reply With Quote
Bookmarks