Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getdate()
Message
From
30/07/2001 09:03:49
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Getdate()
Miscellaneous
Thread ID:
00537139
Message ID:
00537139
Views:
36
hi

I am unable to execute this code on my ASP page.The error is
Type mismatch getdate.I am using SQL server.

Earliar I had used access than now() for current date is working perfectly OK.

if Request.Form("searchdate") <> 0 then
dt = cint(Request.Form("searchdate"))
StrSql = StrSql & "T_date > " & dateadd("d", "-dt", getdate()) & ") and ("
End if
Next
Reply
Map
View

Click here to load this message in the networking platform