J
Jonathan Wood
I want to store some application-wide data in my database. The table that
stores this will store the different data in each field, and there will only
need to be one record.
Since there will only be one record, I haven't bothered to add a key
(primary or otherwise).
This seems to work fine but I'm trying to figure out what my SQL UPDATE
statement would look like. The first time my code runs, I guess I need to
create the single record. But, once created, I don't want to insert
additional records. But without a primary key and some sort of reference to
it, I don't know how to update the single record.
Can anyone help?
stores this will store the different data in each field, and there will only
need to be one record.
Since there will only be one record, I haven't bothered to add a key
(primary or otherwise).
This seems to work fine but I'm trying to figure out what my SQL UPDATE
statement would look like. The first time my code runs, I guess I need to
create the single record. But, once created, I don't want to insert
additional records. But without a primary key and some sort of reference to
it, I don't know how to update the single record.
Can anyone help?