Re: [SQL] how to use column name with Case-sensitive with out usig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2005-08-06 at 05:00 +0000, wisan watcharinporn wrote:
> how can i use
> 
> create table myName(
>    myColumnName varchar(32)
> );
> 
> select myColumnName from myColumnName ;

Assuming you meant 'from myName' here,
this should work.

On the other hand, this will NOT work:

  create table "myName"(
     myColumnName varchar(32)
  );
  select myColumnName from myName ;


if you mean that you want some thing like:
  create table foo (
    myColumnName varchar(32),
    MYcOLUMNnAME varchar(32)
  );
without using quotes, then that is not
possible, per SQL specs.

gnari




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux