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

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -