Re: 'sequence' table?

[prev] [thread] [next] [Date index for 2004/09/18]

From: Allen Day
Subject: Re: 'sequence' table?
Date: 06:08 on 18 Sep 2004
just use your imagination, there are many alternatives.  i agree, it's 
playing with fire to tread on any reserved keywords.

tablename ideas: seq, feature, region, residues, protein...

-ad

On Fri, 17 Sep 2004, Charles Bailey wrote:

> --On Friday, September 17, 2004 5:17 PM +0100 Dave Howorth 
> <dhoworth@xxxxxxx.xxx.xx.xx> wrote:
> 
> > Is it possible to have a table called 'sequence'?
> >
> > I work with proteins, so sequence is kind of an important concept in the
> > problem domain :)  I'm using Maypole, so I want/need the table name to be
> > determined by the GUI requirements.
> >
> > When I use a database with a 'sequence'table, I see the following error:
> >
> >    Column 'sequence' in QD1::Entry clashes with built-in method at
> >    /usr/local/share/perl/5.6.1/Class/DBI/Loader/mysql.pm line 24
> >
> > This is caused by error checking in Class::DBI because it has a method
> > called 'sequence'. I believe I don't need the method because I'm using
> > mysql. Is it possible to dispense with the method so I can use the name?
> 
> You could comment out the warning, but this might come back to haunt you if 
> you ever switch DBMS, or if a future version of MySQL picks it up as a 
> reserved word.  Could you get by with something like "AASequence", or even 
> "Amino_acids", or head in the other direction with an abbreviation like 
> "Seq"?
> 
> --
> Regards,
> Charles Bailey  < bailey _at_ newman _dot_ upenn _dot_ edu >
> Newman Center at the University of Pennsylvania
> 

(message missing)

'sequence' table?
Dave Howorth 16:17 on 17 Sep 2004

Re: 'sequence' table?
Charles Bailey 20:26 on 17 Sep 2004

Re: 'sequence' table?
Allen Day 06:08 on 18 Sep 2004

Re: 'sequence' table?
Tony Bowden 07:40 on 18 Sep 2004

Re: 'sequence' table?
Dave Howorth 09:31 on 20 Sep 2004

Re: 'sequence' table?
Tony Bowden 10:04 on 20 Sep 2004

Re: 'sequence' table?
Dave Howorth 12:08 on 20 Sep 2004

Re: 'sequence' table?
Tony Bowden 16:44 on 20 Sep 2004

Re: 'sequence' table?
Dave Howorth 10:14 on 21 Sep 2004

Generated at 11:35 on 01 Dec 2004 by mariachi v0.52