On Thu, 2003-05-01 at 19:03, Dennis Gearon wrote:
> A very simple SQL question, LOL.
>
> If I want to delete multiple rows, I can use '||' to do it like this, right?
>
> DELETE FROM TableName
> WHERE
> column = value1 ||
> column = value2 ||
> column = value4 ||
> column = value5
> ;
Wrong!
|| is for string concatenation.
Possibly you mean:
WHERE column = value1 OR column = value2 OR ...
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"For if ye forgive men their trespasses, your heavenly
Father will also forgive you; But if ye forgive not
men their trespasses, neither will your Father forgive
your trespasses." Matthew 6:14,15