N
norwedsh via AccessMonster.com
Hi,
I would like to be able to have the date set by default, as the
current date, when the table is created. I'm kinda new to SQL and am taking a
course in it. Here is my current SQL code:
create table
tblOrder
(
Order_ID counter,
Cus_ID integer,
Sale_Date Date,
Sale_Quantity integer,
Price currency,
Constraint Order_ID_PK primary key(order_id)
);
Sale_Date is the field in question, my instructor implied that the VB now()
function can be used, but I'm lost as how to use it.
Thanks in advance
Eric
I would like to be able to have the date set by default, as the
current date, when the table is created. I'm kinda new to SQL and am taking a
course in it. Here is my current SQL code:
create table
tblOrder
(
Order_ID counter,
Cus_ID integer,
Sale_Date Date,
Sale_Quantity integer,
Price currency,
Constraint Order_ID_PK primary key(order_id)
);
Sale_Date is the field in question, my instructor implied that the VB now()
function can be used, but I'm lost as how to use it.
Thanks in advance
Eric