Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > Error: could no...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3422 of 3599
Post > Topic >>

Error: could not find pathkey item to sort

by theerasak@[EMAIL PROTECTED] (Theerasak Maneeneim) Apr 21, 2008 at 01:09 PM

Hi Everyone,

           I had some problem with postgresql 8.3.1. I had got an error 
message, ERROR:  could not find pathkey item to sort, when
I use this query statement:

           SELECT   INTO   wk_fcstrec_dt   DISTINCT  MAX(fcstrec_dt) 
FROM a_cusfcst                   
          WHERE
                   cscd = '2203'
               AND    cs_partno = '35732SSA'
               AND    delipnt_no = '001'
               AND    plantcd_no = '003'
               AND    locatto = trim(both FROM 'SS')
               AND    fcstrec_dt < '20080910'
               AND    latest_flg = 'N';


       I have not ever seen the error in version 8.1 and 8.2. Now, I 
have already revised my program by removed the word "DISTINCT" but I 
want to know what is cause of this error. Could you please to explain to
me?

Thank you very much.

-- 
Sent via pgsql-sql mailing list (pgsql-sql@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
 




 2 Posts in Topic:
Error: could not find pathkey item to sort
theerasak@[EMAIL PROTECTE  2008-04-21 13:09:09 
Re: Error: could not find pathkey item to sort
tgl@[EMAIL PROTECTED] (T  2008-04-21 10:23:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 12:27:56 CDT 2008.