|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
VeriSign Code Signing Digital Certificates provides assurance to end users. Read about this and more in the free white paper: “How to Digitally Sign Downloadable Code for Secure Content Transfer.” Learn More! |
|
#1
|
|||
|
|||
|
Please Help! SQL Works in Access but not in Coldfusion
Hello,
I am trying to create a recordset in Coldfusion. It works in Access but not in Coldfusion. Error Message: Too Few Parameters. Expected :2 SELECT tMembership.MemberId, tMembership.TermEnd, Datediff('d', date(), TermEnd) AS StatusMonths WHERE Datediff('d', date(), TermEnd) BETWEEN 1 and 90 I also tried this but does not work: SELECT tMembership.MemberId, tMembership.TermEnd, Datediff('d', date(), TermEnd) AS StatusMonths WHERE StatusMonths BETWEEN 1 and 90. Please Help! I really need to find out the solution to this. Thank you in Advance. |
|
#2
|
|||
|
|||
|
Try removing different parts of the statement to determine exactly what is causing the problem. I'd start with the dateDiff function call...
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Please Help! SQL Works in Access but not in Coldfusion |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|