Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 14 of 14 total
Thread GROUP BY problem
Wed, Apr 11 2007 5:00 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ole,

<< No, the default length of 1 (if length is not specified) is the same for
both CHAR and VARCHAR. >>

Section 6.1 Data Types - The parentheses and length specifier are not
optional for VARCHAR, hence there is no "default".

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Apr 11 2007 5:12 PMPermanent Link

"Ole Willy Tuv"
Tim,

<< Section 6.1 Data Types - The parentheses and length specifier are not
optional for VARCHAR, hence there is no "default". >>

Yes, you're absolutely correct.

Ole Willy Tuv

Thu, Apr 12 2007 4:15 PMPermanent Link

"Ole Willy Tuv"
Tim,

<< EDB allows you to specify a VARCHAR without a specific length. IOW, it
can grow as required. >>

Thinking about it - I actually like this EDB extension. It's basically a
short hand for:

VARCHAR(implementation_defined_max_length)

Btw, SQL Server 2005 has a similar extension - VARCHAR(max).

Ole Willy Tuv

Thu, Apr 12 2007 3:46 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ole,

<< Thinking about it - I actually like this EDB extension. It's basically a
short hand for:

VARCHAR(implementation_defined_max_length)

Btw, SQL Server 2005 has a similar extension - VARCHAR(max). >>

Correct, but it is more Pascal-like to simply leave off the length. Smiley

--
Tim Young
Elevate Software
www.elevatesoft.com

« Previous PagePage 2 of 2
Jump to Page:  1 2
Image