|
|
Sponsor |
Re: Custom types / "long" datatypes in custom functions: msg#00281apache.db.derby.devel
David Blasby wrote: > 2. Functions > Currently, functions cannot send/return non-fixed-length data > types. It would be great to be able to either (1) send custom types > to custom functions OR (2) send BLOB-like things to custom functions. > (oh, are BLOBs inefficient to use?) Just to be clear functions can send and return non-fixed length data types, also known as variable length types. An example is VARCHAR(1000) which is a character type whose value can be any length from 0 characters to 1000 characters. And VARCHAR(1000) FOR BIT DATA is binary type whose length can be from 0 bytes to 1000 bytes. > Currently, I use a "VARCHAR(1000000)" as my Geometry type, and stick a > base-64 encoding of the binary version of the Geometry inside. This > is pretty messy and inefficient. Not to mention the fact that you can > run spatial functions on text like 'how now brown cow'. So does that tell you what path the cow jumped over the moon? :-) Dan.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Join order and access path, Jeffrey Lichtman |
|---|---|
| Next by Date: | Re: Join order and access path, RPost |
| Previous by Thread: | Custom types / "long" datatypes in custom functions, David Blasby |
| Next by Thread: | Re: Custom types / "long" datatypes in custom functions, David Blasby |
| 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 | sitemap
| advertise | OSDir is
an inevitable website.
|