If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > HPLODER QUERY doesnt suppurt current year to second

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-19-06, 09:35
meiwen meiwen is offline
Registered User
 
Join Date: Oct 2005
Posts: 30
HPLODER QUERY doesnt suppurt current year to second

I am working with hploader to unload the data from database.
Seems in the select statements with 'current year to second' , for example :
select current year to second as lastupdate from tabname , as single statement it is working well. But as a select query in hploader, i always get error like below :

exception : looking for handler
SQL error = -1263 ISAM error = 0 error string = = ""
exception : no appropriate handler

Is there any way to solve this problem?
Reply With Quote
  #2 (permalink)  
Old 06-20-06, 07:28
meiwen meiwen is offline
Registered User
 
Join Date: Oct 2005
Posts: 30
is something related with PDQPRIORITY ?
Reply With Quote
  #3 (permalink)  
Old 06-21-06, 08:03
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,

Please define environment variable DBDATE.

Gustavo.
Reply With Quote
  #4 (permalink)  
Old 08-28-06, 04:27
meiwen meiwen is offline
Registered User
 
Join Date: Oct 2005
Posts: 30
I dont know why, after one month i come back my job, it works with CURRENT in select statement , with hploader. And i check, seems no DBDATE defined? (normally it defined where?)

Now comes up another problem, i just found as long as i define a SPL (even very simple one), when i use hploader to unload data,always return me back like :

Query -> select meimei(1) xx from yy for read only

Convert Reject -> Log/zz.Urej
Cannot unload to multiple devices when the given query cannot be executed in parallel.


my function is very simple here :

drop function meimei;

CREATE function meimei(vv int8) RETURNING INT8 ;

define xx int8;

let xx = vv;
return xx;

END function;


When i check the document, always mention me use modifier parallelizable, but acutally it is only for external UDR, not for SPL.

Any way to solve the problem?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On