sysdate
How can insert system date in sql server by ASP page ?
It insert 1/1/1900 date,
During data entry, I want that system date automatically insert in sql server.
isql1="insert into stations2 (stn_no,curnt_user,purchase_date,cost,model,rec_up date,remarks) values ("
isql2="'" & stn_no & "',"
isql3="'" & curnt_user & "',"
isql4="'" & purchase_date & "',"
isql5= cost & ","
isql6="'" & model & "',"
isql7="'" & sysdate & "'," // how can insert sysdate
isql8="'" & remarks & "')"
isql=isql1+isql2+isql3+isql4+isql5+isql6+isql7+isq l8
cn.Execute isql
Mateen
|