.\" Title: \fBndb_delete_all\fR
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.70.1
.\" Date: 05/02/2007
.\" Manual: MySQL Database System
.\" Source: MySQL 5.0
.\"
.TH "\fBNDB_DELETE_ALL\fR" "1" "05/02/2007" "MySQL 5.0" "MySQL Database System"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
ndb_delete_all \- delete all rows from NDB table
.SH "SYNOPSIS"
.HP 23
\fBndb_delete_all \fR\fB\fIoptions\fR\fR
.SH "DESCRIPTION"
.PP
\fBndb_delete_all\fR
deletes all rows from the given
NDB
table. In some cases, this can be much faster than
DELETE
or even
TRUNCATE.
.PP
\fBUsage\fR:
.sp
.RS 3n
.nf
ndb_delete_all \-c \fIconnect_string\fR \fItbl_name\fR \-d \fIdb_name\fR
.fi
.RE
.PP
This deletes all rows from the table named
\fItbl_name\fR
in the database named
\fIdb_name\fR. It is exactly equivalent to executing
TRUNCATE \fIdb_name\fR.\fItbl_name\fR
in MySQL.
.PP
\fBAdditional Options\fR:
.TP 3n
\(bu
\fB\-\-transactional\fR,
\fB\-t\fR
.sp
Use of this option causes the delete operation to be performed as a single transaction.
.sp
\fBWarning\fR: With very large tables, this using this option may cause the number of operations available to the cluster to be exceeded.
.SH "COPYRIGHT"
.PP
Copyright 1997\-2007 MySQL AB
.PP
This documentation is NOT distributed under a GPL license. Use of this documentation is subject to the following terms: You may create a printed copy of this documentation solely for your own personal use. Conversion to other formats is allowed as long as the actual content is not altered or edited in any way. You shall not publish or distribute this documentation in any form or on any media, except if you distribute the documentation in a manner similar to how MySQL disseminates it (that is, electronically for download on a Web site with the software) or on a CD\-ROM or similar medium, provided however that the documentation is disseminated together with the software on the same medium. Any other use, such as any dissemination of printed copies or use of this documentation, in whole or in part, in another publication, requires the prior written consent from an authorized representative of MySQL AB. MySQL AB reserves any and all rights to this documentation not expressly granted above.
.PP
Please email
for more information.
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available
online at http://dev.mysql.com/doc/.
.SH AUTHOR
MySQL AB (http://www.mysql.com/).
This software comes with no warranty.