I have some code that is running fine in SQL but when I copy it to a list (using the manual edit) then I get an error message. The error says:
Insert error: Column name or number of supplied values does not match table definition.
Here is the code I am using. Any ideas? I just don't know why it's working in SQL and not the list.
SELECT
T_ORDER o
JOIN
order_no
customer_no
WHERE
'2010/08/04'
AND
0
Where
HAVING
) AND
VS_PERF p
)
Right! Thanks Brian!
From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Brian Wilbur Grundstrom Sent: Wednesday, August 04, 2010 2:27 PM To: Gloria Ormsby Subject: RE: [Tessitura Technical Forum] Query Code in List Manager
You can only select customer_no in a list. You have to remove order no.
From: Gloria Ormsby [mailto:bounce-gloriaormsby5026@tessituranetwork.com] Sent: Wednesday, August 04, 2010 2:07 PM To: Brian Grundstrom Subject: [Tessitura Technical Forum] Query Code in List Manager
DISTINCT o.order_no, c.customer_no FROM dbo.
dbo.T_LINEITEM l ON o.order_no = l.
dbo.T_CUSTOMER c ON c.customer_no = o.
o.order_dt BETWEEN '2010/07/10' AND
l.tot_pur_amt >
EXISTS(select 1 from dbo.T_LINEITEM l (NOLOCK)
l.order_no = o.
count(distinct convert(char(12), perf_no)) <=4
l.perf_no IN (SELECT p.perf_no FROM dbo.
p.season = 165
This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Technical Forum. You may reply to this message to post to the Technical forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!