RE: [otrs] Help With Customer Interface/Permissions

L. Mark Stone wrote:
On Mon, 2004-05-03 at 12:49, Tyler Hepworth wrote:
Error: Unknown table 'queue' in where clause, SQL: 'update ticket set customer_id = ClientIDName where queue.id = ticket.queue_id and queue.name = "First Client Name::Incoming"'
Yes, it exists, but the sql query doesn't know where to find it because I forgot to specify it.
Query needs to be this
update ticket,queue set ticket.customer_id = ClientIDName where queue.id = ticket.queue_id and queue.name = "First Client Name::Incoming"'
Hi Tyler,
Well it helped in that I now have a different error! ;-)
Error: Unknown column 'ClientIDName' in 'field list', SQL: 'update ticket, queue set ticket.customer_id = ClientIDName where queue.id = ticket.queue_id and queue.name = "First Client Name::Incoming"
Any ideas? And thanks for your time on this!
Surround ClientIDName with ' ' so that MySQL will recognize it as a value. Without the quotes it is trying to interpret it as a column in a table. Hth, Tyler

On Mon, 2004-05-03 at 15:02, Tyler Hepworth wrote: <snip>
Surround ClientIDName with ' ' so that MySQL will recognize it as a value. Without the quotes it is trying to interpret it as a column in a table.
Perfect Tyler, Thanks!!!!!!!!!! Best regards, Mark -- _____________________________________________________________ A Message From... L. Mark Stone Reliable Networks of Maine, LLC 477 Congress Street, 5th Floor Portland, ME 04101 Tel: (207) 772-5678 Web: http://www.rnome.com
participants (2)
-
L. Mark Stone
-
Tyler Hepworth