Something like that might work:
UPDATE dembel
SET userid = 8908
WHERE [Name] = 'o''reily'
But before doing that you need to replace the name in ur db with double apostrophe using Replace:
Replace ("o'reily", " ' ", " '' ")
Why would he replace the data with a double apostrophe? That's changing the integrity of the data, which I don't think he wants.
samaru
a.k.a inscissor
1,256 posts since Feb 2002
Reputation Points: 262
Solved Threads: 18