Error Executing Database Query.
|
|
[Macromedia][SQLServer JDBC Driver][SQLServer]Line 2: Incorrect syntax near ';'.
|
| |
The error occurred in C:\Websites\mdnightlife.com\htdocs\ocean_city_maryland.cfm: line 8
|
6 : WHERE EVENTTYPE = 'Event' AND EVENTCITY LIKE '%Ocean City%'
7 : ORDER BY EVENTDATE</CFQUERY>
8 : <CFQUERY name="Photo" datasource="EVENTSMNL">
9 : SELECT * FROM EVENTSMNL WHERE EVENTTYPE = 'Photo'
10 : and (eventdate > getdate()
|
|
| SQL |
SELECT * FROM EVENTSMNL WHERE EVENTTYPE = 'Photo'
and (eventdate > getdate()
or (datepart(yyyy,eventdate) = datepart(yyyy,getdate())
and datepart(dd,eventdate ) = datepart(dd,getdate())
and datepart(mm,eventdate) = datepart(mm,getdate()) ) )
ORDER BY EVENTDATE |
| DATASOURCE |
EVENTSMNL |
| VENDORERRORCODE |
170 |
| SQLSTATE |
HY000 |
|
|
Resources:
|
| Browser |
CCBot/1.0 (+http://www.commoncrawl.org/bot.html) |
| Remote Address |
38.103.63.18 |
| Referrer |
|
| Date/Time |
09-May-08 05:44 PM |
|