![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM SQL » View Thread |
Messages 1 to 2 of 2 total |
![]() |
Fri, Feb 1 2013 12:03 PM | Permanent Link |
Enrico Lago | Is possible to add a new column with a initial value as an already existing column?
Something like at... alter table MyTable add column if not exists MyColumn Varchar(256) as column AlreadyExistingColumn; |
Fri, Feb 1 2013 1:06 PM | Permanent Link |
Roy Lambert NLH Associates ![]() | Enrico
>Is possible to add a new column with a initial value as an already existing column? >Something like at... > >alter table MyTable add column if not exists MyColumn Varchar(256) as column AlreadyExistingColumn; No but you can do it as a script alter table MyTable add column if not exists MyColumn Varchar(256); update MyTable set MyColumn = AlreadyExistingColumn; Roy Lambert [Team Elevate] |
This web page was last updated on Wednesday, July 2, 2025 at 06:46 PM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |