diff options
Diffstat (limited to 'sql/testd.sql')
-rwxr-xr-x | sql/testd.sql | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/testd.sql b/sql/testd.sql new file mode 100755 index 0000000..3bac01c --- /dev/null +++ b/sql/testd.sql @@ -0,0 +1,12 @@ +# HELP; + +USE /opt/1Tdata/xbase/xbase.30/data; + +# INSERT INTO TestSQL.DBF (CITY, STATE, ZIPCODE, NOTES, LASTUPDATE, ACTIVE ) VALUES ( 'San Diego', 'CA', 92007, 'San Diego is a cool place', '1989-02-09', 'Y'); + +# CREATE TABLE TestSql.DBF( CHRFLD CHAR(6), DTFLD DATE, INTFLD INTEGER, SMINTFLD SMALLINT, NUMFLD NUMERIC(9,4), DECFLD DECIMAL(9,4), FLTFLD FLOAT(9,4) VCHARFLD VARCHAR, LGFLD LOGICAL ); +# CREATE UNIQUE INDEX TestSql1.NDX ON TestSql.DBF( CHRFLD ) ASSOCIATE; + +DROP INDEX IF EXISTS TestSql1.NDX ON TestSql.DBF; + + |