Hello,

je suis pas expert sql, et encore moins OpenOffice Base
mais alter table, ce n'est pas pour modifier le shema d'une table ?

un simple update :

/UPDATE/ ALBUM /SET/ Media = 'CD Audio' WHERE Media = 'Audio CD';

non ?

Pas taper ...

Manuel NAUDIN a écrit :
> Bonjour,
>
> 2009/3/11 Maurice <msta...@canl.nc>:
>   
>> Bonjour,
>>
>> Je voudrais réinitialiser (mettre à 0) un champ small integer (ent6)
>> d'une table (schools).
>>
>> ALTER TABLE "schools" ALTER COLUMN "ent6" SET "0"      produit
>> Unexpected token: 0 in statement [ALTER TABLE "schools" ALTER COLUMN
>> "sol" SET "0"]
>> idem si je remplace "0" par 0
>>     
> et si tu remplaces "0" par '0' ?
> Ceci dit il faut ensuite que tu indiques sur quels enregistrement tu
> veux effectuer l'instruction :
>
>  ALTER TABLE "schools" ALTER COLUMN "ent6" SET '0' WHERE ici il faut
> une condition
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@fr.openoffice.org
> For additional commands, e-mail: users-h...@fr.openoffice.org
>
>
>   


-- 
- -------------------------------------Powered-by----------------------
Yves-Jean Benigni                 |    / /    (_)____   __  __ _  __
Administrateur Systèmes&Réseaux   |   / /    / // __ \ / / / /| |/ /
Site : www.Benigni.org            |  / /___ / // / / // /_/ /  >  <
E.Mail: yves-j...@benigni.org     | /_____//_//_/ /_//_____/  /_/\_\
- ----------------------------------------------------------inside-----
      << Si tu ne sais pas, demande. Mais si tu sais, partage. >>
                          Registered Linux user #343201
                        Machine has registration #233291


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to