On Thu, 16 Sep 2004, Kidd wrote:

> ma ajuta si pe mine cineva cu o solutie in afara de:

> - copiere coloana in alta coloana recreere coloana cu varchar(60) si 
> apoi copiere date inapoi

        Cea de sus e cea mai rezonabila. Va trebui sa refaci indecsii 
care se leaga de coloana asta, pentru ca in momentul in care ii vei da 
drop va dispare si indecsul. cva sa fim clari, sper ca te-ai gindit asa:
        alter table tabela add column cktucmak varchar(60);
        update tabela set cktcumak=vechiulcimp;
        alter table tabela drop column vechiulcimp;
        alter table tabela rename column chkcumak to vechiulcimp;

-- 
Any views or opinions presented within this e-mail are solely those of
the author and do not necessarily represent those of any company, unless
otherwise expressly stated.

--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui