assassinator
16th February 2009, 05:28
I had found some doubt. In WHERE statement, I used IN operate.
This is OK, no error.
and tcmcs003.cwar in ("KAF","KAJ","NLF"..."TWJ")
But this is not correct.
and tcmcs003.cwar(1;1) in ("K","N"..."T")
And should use like this:
and (tcmcs003.cwar(1;1) = "K" or tcmcs003.cwar(1;1) = "N" or...tcmcs003.cwar(1;1) = "T")
I can't see the differents in the three statements.:confused:
This is OK, no error.
and tcmcs003.cwar in ("KAF","KAJ","NLF"..."TWJ")
But this is not correct.
and tcmcs003.cwar(1;1) in ("K","N"..."T")
And should use like this:
and (tcmcs003.cwar(1;1) = "K" or tcmcs003.cwar(1;1) = "N" or...tcmcs003.cwar(1;1) = "T")
I can't see the differents in the three statements.:confused: