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 > DB2 > No authorized routine of type "FUNCTION"

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-18-07, 06:11
wishlister wishlister is offline
Registered User
 
Join Date: Feb 2007
Posts: 42
No authorized routine of type "FUNCTION"

DB2 ESE
what does this mean? what should i do?
No authorized routine named "||" of type "FUNCTION" having
compatible arguments was found.
Reply With Quote
  #2 (permalink)  
Old 02-18-07, 07:18
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
message

can you indicate the command executed and the complete message ?
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #3 (permalink)  
Old 02-18-07, 08:36
wishlister wishlister is offline
Registered User
 
Join Date: Feb 2007
Posts: 42
YEAR(B.BDAY)-YEAR(A.BDAY)||'OLDER THAN' //the error appears here
don't mind that my other statements maybe wrong
Reply With Quote
  #4 (permalink)  
Old 02-18-07, 09:26
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
I don't think you can concatenate numeric values. You must first cast them as char or varchar.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #5 (permalink)  
Old 02-18-07, 10:41
wishlister wishlister is offline
Registered User
 
Join Date: Feb 2007
Posts: 42
oic.. i think i forgot that rule! tnx a lot!
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