This is in my connection string. "Provider = Microsoft Office 12.0 Access Database Engine OLE DB Provider;" My understanding is that the JET connection limits the sql syntax needed.
This string creates an ID field that is "Not Null" and "Unique" but it does not auto increment. It also requires me to include a value for each insert. I need a solution that automatically increments and does not require a value for an insert command.
CREATE TABLE [IC]
(
[ID] INT UNIQUE NOT NULL, <<--- I need help here
[Part Number] VARCHAR(255),
[Manufacturer] VARCHAR(255)
);
I think the solution may be on this page but I haven't found the right combination to solve the problem yet. CONSTRAINT Clause (Microsoft Jet SQL)