Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Keith Simmons — — source: Usenet: comp.databases.informix
Lukas
La méthode la plus rapide et la plus propre consiste à supprimer puis à recréer la table.
Keith
Le 21/09/06, Lukas Barton <lukas@cnawr.cz> a écrit :
> Bonjour,
>
> comment puis-je supprimer toutes les lignes d'une table standard (avec journalisation) sur IDS 9.40 ?
> - avec truncate table [table_name] le serveur signale une erreur de syntaxe (SQL
> State : 42000, Code erreur : -201)
> - avec delete from [table_name] cela provoque une erreur de transaction longue (SQL
> State : IX000, Code erreur : -458)
>
> J'utilise JDBC.
> Il y a environ 300 000 lignes dans la table.
> Le mode de verrouillage est page.
> La base de données est non-ansi.
> La table possède quelques clés étrangères et index.
>
> Merci de votre aide,
>
> Lukas
>
>
> _______________________________________________
> Informix-list mailing list
> Informix-list@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
>
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.