[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SQL Q's.
> > 3) How do I insert a row in a table for which the primary key is
> > auto-incrementing or not auto-inc?
> When it auto-incs, I believe you can just leave that field out of your list.
In some DB's you can leavie it out of the list, but in MySQL you have to
insert a '' for that field, symbolizing a NULL.
- References:
- SQL Q's.
- From: Aaron Turner <aturner@linuxkb.org>
- Re: SQL Q's.
- From: Micah Yoder <LYoder@cyberis.net>