>x = "abcde" >y = "abc" >set exact off >? x = y && returns .T. - comparison is done until the end of "y" is reached. >>
...WHERE MYFIELD = "VALUE"...is also convenient for parameterized SQL statements or views when you want to bring all records - you just specify "" as a parameter. The = and == behaviour in SQL is determined by SET ANSI command as SET EXACT has no effect on SQL statements. (I am sure Hilmar pointed to SET EXACT only as a source for behaviour explanation). I myself typically never use SET ANSI command, but rather specify = or == in SQL statements.