logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: Custom types / "long" datatypes in custom functions: msg#00281

apache.db.derby.devel

Subject: Re: Custom types / "long" datatypes in custom functions

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>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive 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

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo