|
|
Choosing A Webhost: |
function won't work :-(: msg#00262db.maxdb
Hi, why does this CREATE FUNCTION normal_like (s1 varchar, s2 varchar) RETURNS BOOLEAN AS SET s1 = LOWER(s1); SET s2 = LOWER(s2); IF LENGTH(s1) > LENGTH(REPLACE(s1, s2)) THEN RETURN TRUE ELSE RETURN FALSE; // SELECT normal_like('abc', 'b') FROM sysdba.dual fail with the error General error;-2010 POS(8) Assignment impossible, char value too long SELECT normal_like('abc', 'b') FROM sysdba.dual Well, which assignment is impossible? which char value is too long? I can't imagine any reason :-( In case s1 and s2 aren't writable: well, assigning LOWER(s1) and LOWER(s2) to other vars named s3 and s4 doesn't help either :-( -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Very Large Tables, Fritz |
|---|---|
| Next by Date: | Performance problems ? witch parameter to change ?, Fabrice Bourdel |
| Previous by Thread: | Very Large Tables, Robert Schaefer |
| Next by Thread: | Performance problems ? witch parameter to change ?, Fabrice Bourdel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|