Subject | Re: [firebird-support] Alter length of a column |
---|---|
Author | Martijn Tonies |
Post date | 2008-08-28T20:49:11Z |
> Umm YesNot as far as I know, Firebird simply refuses.
>
> Couldn't you run an SQL to change the data in any street with > 40 down
> to 40. Then do the Alter?
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
> RobOracle &
>
> Martijn Tonies wrote:
> >> I have a table with a column street varchar(50).
> >>
> >> I could do an
> >> alter table xxx alter street varchar(60)
> >> but I could not do an
> >> alter table xxx alter street varchar(40)
> >>
> >> I have to create a temp-column an copy the data over.
> >>
> >> Is there an easier (and faster) way?
> >>
> >
> > No.
> >
> > Martijn Tonies
> > Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB,
> > MS SQL Server
> > Upscene Productions
> > http://www.upscene.com
> > My thoughts:
> > http://blog.upscene.com/martijn/
> > Database development questions? Check the forum!
> > http://www.databasedevelopmentforum.com
> >
> >
> > ------------------------------------
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > Visit http://www.firebirdsql.org and click the Resources item
> > on the main (top) menu. Try Knowledgebase and FAQ links !
> >
> > Also search the knowledgebases at http://www.ibphoenix.com
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>
> ------------------------------------
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Yahoo! Groups Links
>
>
>