My flawed learning process or ...

My flawed learning process or ...

Post by Les VanHor » Sun, 08 Sep 1996 04:00:00



Here I am, a VB newbie, feeling like I have a flawed learning process. That being said.

I am having trouble using a LARGE text file as a database. I have been able to set up a schema.ini and use a
small text file. Would anyone care to show me the error of my ways. At this point I don't care if I use code
or the DbGrid. I simply want to undertand what is going on.

Oh and 'LARGE' =
        FixedLength = 1030 characters w/o delimiters
        Number of Lines = 523,711

When I try to use it in the same way as the small test text file it simple takes off spinning the drive
forever. I would really like to be able to read this data directly from the CD.

Any thought would be greatly appreciated.

Les
--
Any sufficiently advanced bug is indistinguishable from a feature.

 
 
 

1. MATCH FULL flawed?

You're not using it right.  You specified a separate MATCH FULL
constraint for each column:

This is essentially a no-op, since MATCH FULL and MATCH PARTIAL are only
meaningfully different for a multi-column key.  What you want is

regression=# create table test2 (a integer, b integer,
regression(# foreign key (a,b) references test(a,b) match full);
NOTICE:  CREATE TABLE will create implicit trigger(s) for FOREIGN KEY check(s)

which has the behavior you're after:

regression=# insert into test2 values (null, 1);
ERROR:  <unnamed> referential integrity violation - MATCH FULL doesn't allow mixing of NULL and NON-NULL key values
regression=# insert into test2 values (1, null);
ERROR:  <unnamed> referential integrity violation - MATCH FULL doesn't allow mixing of NULL and NON-NULL key values
regression=# insert into test2 values (null, null);
INSERT 262789 1
regression=# insert into test2 values (1, 1);
INSERT 262790 1
regression=#

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

2. ontape verification?

3. Flawed Pentium Chip

4. LINUX/sco AND oh yes Unixware

5. Interbase Fatally Flawed?

6. How do I extract data without using OLEDB or ODBC?

7. flawed FNKSHNs in version 1.01

8. Unix Databases?

9. Oracle Objects in O.R.DBs flawed to uselessness

10. importing slightly flawed files

11. Flawed Design of Allowing Same Table Name of Different Owner

12. KEYBOARD Command flawed? [2.0 DOS]

13. Verifying/Restoring flawed Online v4 archives