clivehenderson
IS-IT--Management
Hi, hope someone can help
If I assign a function value to a field it works OK
$_test = tNG_generateRandomString(16);
but when I try and use it in an update statement, it returns function not found.
UPDATE tblMembers2 SET tblMembers2.mSecKey= tNG_generateRandomString(16) WHERE tblMembers2.mID>0;
I've tried putting single, double quotes around the function without success
appreciate any help
Thanks
Clive
UPDATE tblMembers2 SET tblMembers2.mSecKey= tNG_generateRandomString(16) WHERE tblMembers2.mID>0
If I assign a function value to a field it works OK
$_test = tNG_generateRandomString(16);
but when I try and use it in an update statement, it returns function not found.
UPDATE tblMembers2 SET tblMembers2.mSecKey= tNG_generateRandomString(16) WHERE tblMembers2.mID>0;
I've tried putting single, double quotes around the function without success
appreciate any help
Thanks
Clive
UPDATE tblMembers2 SET tblMembers2.mSecKey= tNG_generateRandomString(16) WHERE tblMembers2.mID>0