CAN YOU FIIP/FLOP VARIABLES AND DATA IN CF?
This works in the SQL Query Analyzer. Is there a way to switch it to CF? When I
run it I get the following error.
[SQLServer JDBC Driver][SQLServer]Invalid column name 'DateFrom'.
Because DateFrom is a passed variable.
Select * RENTALS r
Where NOT EXISTS ( Select 1 From PROPERTYCALENDAR p
Where unitCode = r.selectUnit
And (@DateFrom BETWEEN arrivalDate AND arrivalDate + nights
Or @DateTo BETWEEN arrivalDate AND arrivalDate + nights))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213881
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54