[asterisk-users] MySQL syntax error : I really don't see where...

Doug Lytle support at drdos.info
Sun Aug 30 07:34:26 CDT 2009


jonas kellens wrote:
> Hi list,
>
> I'm stuck for the moment @ the following :
>
> My Query (in a macro) :
>
> exten => s,n,MYSQL(Query resultid ${connid} SELECT\ vakantie_set\ 
> vakantie_data1\ vakantie_data2\ FROM\ AstDB\ where\ SIPACCOUNT="${ARG1}")
>

exten => s,n,MYSQL(Query resultid ${connid} SELECT vakantie_set \, 
vakantie_data1 \, vakantie_data2 FROM AstDB WHERE SIPACCOUNT = ${ARG1})

Doug


-- 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list