Cannot use MySQL function in TMyCommand
Posted: Tue 23 Oct 2012 11:02
Hello,
I am trying to use TMyCommand component in MyDAC 5.80 in Delphi 7 to execute the following query:
UPDATE Emp
SET
Password = PASSWORD(:Password)
WHERE
id = :Old_id AND Password = PASSW0RD(:Old_Password)
But the parser would give the error:
#42000 Function <mydbname>.PASSWORD does not exist.
What should I do?
I am trying to use TMyCommand component in MyDAC 5.80 in Delphi 7 to execute the following query:
UPDATE Emp
SET
Password = PASSWORD(:Password)
WHERE
id = :Old_id AND Password = PASSW0RD(:Old_Password)
But the parser would give the error:
#42000 Function <mydbname>.PASSWORD does not exist.
What should I do?