MySQL Query vs Procedure Issue -
alright, one's got me baffled...
the following query, runs perfectly:
select `longtitle`, `keywords`, `description`, `templateid`, `content` `content` `published` = 1 , ((`siteid` = siteid) , (`linkalias` = alias))
when set siteid
24 , alias
'', when attempt records in stored procedure, returns returns record (that should siteid 24, if switch siteid 25
what gives?
fixed it... it's because siteid
parameter same name field checking against
Comments
Post a Comment