I'm hashing out a report and I'm doing some test in SQL Explorer with the
following query
SELECT left(Customer.Name,10), InvcHead.InvoiceNum, InvcDtl.InvoiceLine,
left(ShipTo.State,10), InvcHead.InvoiceDate, InvcDtl.ExtPrice,
InvcMisc.MiscAmt
FROM (((PUB.Customer INNER JOIN PUB.InvcHead ON
Customer.CustNum=InvcHead.CustNum) INNER JOIN PUB.InvcDtl ON
InvcHead.InvoiceNum=InvcDtl.InvoiceNum) LEFT OUTER JOIN PUB.InvcMisc ON
(InvcDtl.InvoiceNum=InvcMisc.InvoiceNum) AND
(InvcDtl.InvoiceLine=InvcMisc.InvoiceLine)) INNER JOIN PUB.ShipTo ON
((InvcDtl.ShipToNum=ShipTo.ShipToNum) AND
(InvcDtl.ShipViaCode=ShipTo.ShipViaCode)) AND
(InvcDtl.CustNum=ShipTo.CustNum)
I keep getting the following error:
=== SQL Exception 1 ===
SQLState=HY000
ErrorCode=-20152
[JDBC OpenEdge Driver]:Character string is too long (8184)
Any thoughts of what is actually going on here.
As you can see I went through and chopped all the string types down to 10
characters. I wasn't sure however if the left function is a sever side
function or done by SQL Explorer after it gets the data back. I assumed
server side but maybe not.
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.8.4/1751 - Release Date: 10/29/2008
7:45 AM
[Non-text portions of this message have been removed]
following query
SELECT left(Customer.Name,10), InvcHead.InvoiceNum, InvcDtl.InvoiceLine,
left(ShipTo.State,10), InvcHead.InvoiceDate, InvcDtl.ExtPrice,
InvcMisc.MiscAmt
FROM (((PUB.Customer INNER JOIN PUB.InvcHead ON
Customer.CustNum=InvcHead.CustNum) INNER JOIN PUB.InvcDtl ON
InvcHead.InvoiceNum=InvcDtl.InvoiceNum) LEFT OUTER JOIN PUB.InvcMisc ON
(InvcDtl.InvoiceNum=InvcMisc.InvoiceNum) AND
(InvcDtl.InvoiceLine=InvcMisc.InvoiceLine)) INNER JOIN PUB.ShipTo ON
((InvcDtl.ShipToNum=ShipTo.ShipToNum) AND
(InvcDtl.ShipViaCode=ShipTo.ShipViaCode)) AND
(InvcDtl.CustNum=ShipTo.CustNum)
I keep getting the following error:
=== SQL Exception 1 ===
SQLState=HY000
ErrorCode=-20152
[JDBC OpenEdge Driver]:Character string is too long (8184)
Any thoughts of what is actually going on here.
As you can see I went through and chopped all the string types down to 10
characters. I wasn't sure however if the left function is a sever side
function or done by SQL Explorer after it gets the data back. I assumed
server side but maybe not.
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.8.4/1751 - Release Date: 10/29/2008
7:45 AM
[Non-text portions of this message have been removed]