petapoco - Parameter '@home' specified but none of the passed arguments...Error message -


i having sql statement follows:

select [user].[id],      [user].[name],     [user].[email]  [user]  email = 'user@home.com''  

and it's firing error follows petapoco:

parameter '@home' specified none of passed arguments have property name (in 'select [user].[id], [user].[name], [user].[email] [user] email = 'user@home.com'')

what error message implies? wrong sql statement? petapoco not accept '@' in sql statement?i need search email address.

you need put 2 @ symbols escape character since used prefix parameters normally.

so value need 'user@@home.com'.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -