Mailing List Archive



Back to the month index Back to the list index

Mike Black (mblack@csihq.com)
Tue, 17 Sep 1996 06:19:19 -0400


Message-Id: <1.5.4.32.19960917101919.00905e10@picard.csihq.com>
Date: Tue, 17 Sep 1996 06:19:19 -0400
From: Mike Black <mblack@csihq.com>
Subject: Re: [mSQL] Auto primary key generator patch

At 11:57 AM 9/16/96 -0600, you wrote:
>Hello All!
>
>
>this may be a stupid question, but I tried to read from the instructions
>supplied with the patch but could not find any info on how to Call Apon
>this auto key patch.
>

I think your problem may be that you need to give the insert call a NULL
parameter instead of nothing at all for the key. Also, ensure you didn't
specify "NOT NULL" on the key definition. A dump of your table and your
insert call would be helpful.
-
 /----------------------------------------------------------\
| Mike Black mblack@csihq.com 407-676-5118, x203 |
| Computer Science Innovations, Inc. 407-676-2355 FAX |
| Melbourne FL 32904-2314 http://www.csihq.com |
 \----------------------------------------------------------/

--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
"info msql-list" to majordomo@bunyip.com for info on monthly archives of
the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!