db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pb2208 <pete.bea...@gmail.com>
Subject Re: Problem with Column Names
Date Mon, 07 Jun 2010 14:18:18 GMT

Mark,

I read the reference and tried several interations before I asked the
original question.  I would really like to get this working.

The following commands have been tried:

String cmdSQL = "Create Table mytable ('393' Decimal(3))";
String cmdSQL = 'Create Table mytable ("393" Decimal(3))';
String cmdSQL = 'Create Table mytable (\"393\" Decimal(3))';

These all give me 'Unclosed Character Literal' error.

Any Ideas


Mark Thornton wrote:
> 
> On 07/06/2010 14:48, pb2208 wrote:
>> That is the answer I expected, but dreaded.  I really didn't want to
>> write a
>> lot of special code.
>>
>> Thanks for confirming.
>>
>>    
> Fortunately it is also wrong
> The definitive answer is:
> 
> http://db.apache.org/derby/docs/10.6/ref/crefsqlj1003454.html
> 
> Mark Thornton
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Problem-with-Column-Names-tp28805238p28805851.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.


Mime
View raw message