dbTalk Databases Forums  

Query returns SQL1585N

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss Query returns SQL1585N in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
brunoalsantos
 
Posts: n/a

Default Query returns SQL1585N - 08-03-2010 , 01:40 PM






Hi all.

DB2 LUW 9.5 fixpack 5.

My application has a query that returns SQL1585N.
I created a temporary tablespace with 32k pages, but the same error is
returned.

Important details:

1) This query has 44 fields. When I remove three fields from the
original query regardless of which fields I remove, the query works.
2) There is a subquery, in this query, with XML agreggate with 12
fields.

Any ideas?

OBS: If necessary, I can put the query here, in the forum.

Thanks in advanced.

Reply With Quote
  #2  
Old   
Serge Rielau
 
Posts: n/a

Default Re: Query returns SQL1585N - 08-03-2010 , 06:39 PM






On 8/4/2010 2:40 AM, brunoalsantos wrote:
Quote:
Hi all.

DB2 LUW 9.5 fixpack 5.

My application has a query that returns SQL1585N.
I created a temporary tablespace with 32k pages, but the same error is
returned.

Important details:

1) This query has 44 fields. When I remove three fields from the
original query regardless of which fields I remove, the query works.
2) There is a subquery, in this query, with XML agreggate with 12
fields.

Any ideas?

OBS: If necessary, I can put the query here, in the forum.
Provide the query AND all the column definitions.


--
Serge Rielau
SQL Architect DB2 for LUW
IBM Toronto Lab

Reply With Quote
  #3  
Old   
brunoalsantos
 
Posts: n/a

Default Re: Query returns SQL1585N - 08-04-2010 , 12:33 PM



On 3 ago, 20:39, Serge Rielau <srie... (AT) ca (DOT) ibm.com> wrote:
Quote:
On 8/4/2010 2:40 AM, brunoalsantos wrote:



Hi all.

DB2 LUW 9.5 fixpack 5.

My application has a query that returns SQL1585N.
I created a temporary tablespace with 32k pages, but the same error is
returned.

Important details:

1) This query has 44 fields. When I remove three fields from the
original query regardless of which fields I remove, the query works.
2) There is a subquery, in this query, with XML agreggate with 12
fields.

Any ideas?

OBS: If necessary, I can put the query here, in the forum.

Provide the query AND all the column definitions.

--
Serge Rielau
SQL Architect DB2 for LUW
IBM Toronto Lab- Ocultar texto das mensagens anteriores -

- Mostrar texto das mensagens anteriores -
Serge.

The query is too long to post here.
I'll send you via email.

Thanks.

Bruno

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.