Bad advice there man without slogan, i also gave it here
Win32::ODBC insert question, but was corrected.
One thing
esolm is doing wrong, and
princepawn hinted on(real close) is not using an AutoNumber field.
It's Microsoft's answer to autoincrement.
Anyway, why don't you just use MS Access to design your database, then you can get to business
CREATE TABLE sessions (
SESSION_ID bigint(20) NOT NULL auto_increment,
SESSION_DATE datetime,
FILE_ARCHIVE varchar (25),
constraint pk_session PRIMARY KEY (session_id)
);
or to be MS Access Specific
CREATE TABLE sessions (
SESSION_ID bigint(20) NOT NULL AutoNumber,
SESSION_DATE datetime,
FILE_ARCHIVE varchar (25),
constraint pk_session PRIMARY KEY (session_id)
);
btw, here are some MS Acces SQL related links i dug up when I was messing with it 2 months ago:
http://officeupdate.microsoft.com/articlelist/o2kAccessArticles.htm
http://msdn.microsoft.com/library/default.asp?URL=/library/techart/acacclinks.htm
http://support.microsoft.com/support/kb/articles/Q140/6/36.asp
http://support.microsoft.com/support/kb/articles/Q208/6/79.asp
http://msdn.microsoft.com/training/courseware/1539.asp
http://officeupdate.microsoft.com/2000/downloaddetails/sp2upd.htm
http://support.microsoft.com/support/serviceware/access/acc2000/
and some article titles you should google, cause i just saved them to my hd, and don't have the links:
Advanced Microsoft Jet SQL for Access 2000.html
Fundamental Microsoft Jet SQL for Access 2000.html
Intermediate Microsoft Jet SQL for Access 2000.html
Tips and Tricks for Access 2000.html
Fundamentals of Relational Database Design.html
A Simple Guide to Five Normal Forms in Relational Database Theory.html
___crazyinsomniac_______________________________________
Disclaimer: Don't blame. It came from inside the void
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.