Oracle 5.0 Reference Manual page 1664

Table of Contents

Advertisement

--delimiter=character,
Causes the
this delimiter.
The default delimiter is the tab character.
--rowid
Adds a
ROWID
--gci
Adds a column to the output showing the global checkpoint at which each row was last updated. See
Section 17.1, "MySQL Cluster
more information about checkpoints.
--tupscan,
Scan the table in the order of the tuples.
--nodata
Causes any table data to be omitted.
Sample Output
Output from a MySQL
mysql>
SELECT * FROM ctest1.fish;
+----+-----------+
| id | name
+----+-----------+
|
3 | shark
|
6 | puffer
|
2 | tuna
|
4 | manta ray |
|
5 | grouper
|
1 | guppy
+----+-----------+
6 rows in set (0.04 sec)
Output from the equivalent invocation of ndb_select_all:
shell>
./ndb_select_all -c localhost fish -d ctest1
id
name
3
[shark]
6
[puffer]
2
[tuna]
4
[manta ray]
5
[grouper]
1
[guppy]
6 rows returned
NDBT_ProgramExit: 0 - OK
Note that all string values are enclosed by square brackets ("[...]") in the output of ndb_select_all.
For a further example, consider the table created and populated as shown here:
CREATE TABLE dogs (
id INT(11) NOT NULL AUTO_INCREMENT,
name VARCHAR(25) NOT NULL,
breed VARCHAR(50) NOT NULL,
PRIMARY KEY pk (id),
KEY ix (name)
)
ENGINE=NDBCLUSTER;
ndb_select_all
-D character
to be used as a column delimiter. Only table data columns are separated by
character
column providing information about the fragments in which rows are stored.
Overview", and
-t
statement:
SELECT
|
|
|
|
|
|
— Print Rows from an NDB Table
Section 17.5.6.2, "MySQL Cluster Log
1644
Events", for

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents