Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 1 to 2 of 2 total |
EXTRACT--can't use a parameter? |
Thu, Nov 8 2007 2:54 PM | Permanent Link |
"A Roberts" | I am attempting to use a parameterized query whereby I select based on a parameterized year. The parser trips on: SELECT * From Schedule WHERE EXTRACT(Year From StartDate) = :YR ORDER BY StartDate; Is there a problem with my syntax, or is DBIsam just incapable of using a parm with EXTRACT? Thanks. |
Fri, Nov 9 2007 1:19 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | << I am attempting to use a parameterized query whereby I select based on a parameterized year. The parser trips on: SELECT * From Schedule WHERE EXTRACT(Year From StartDate) = :YR ORDER BY StartDate; Is there a problem with my syntax, or is DBIsam just incapable of using a parm with EXTRACT? >> Two things: 1) This is the ElevateDB newsgroup 2) What version of DBISAM are you using ? I tried a similar query here and it works just fine with 4.25 B7. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Saturday, May 4, 2024 at 09:18 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |