FROM SQL TO LLBLGEN Self Service generated Code

Posts   
 
    
Posts: 8
Joined: 20-Sep-2011
# Posted on: 25-Jul-2013 14:03:44   

Version LLBLGEN 3.1

How can I create the equivalent to this with predicate filters. Please Help. The query just compare dates and return records that match a range between two dates.

SELECT * FROM EHRNOTIFYQUEUE WHERE convert(char(10),NotifyDate,101) >= convert(char(10),GETDATE(),101) AND convert(char(10),NotifyDate,101) <= convert(char(10),GETDATE(),101)

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 26-Jul-2013 00:10:11   

Have you checked the docs, and tried some code and it did not work?

Hint: DBFunctionCalls

Posts: 8
Joined: 20-Sep-2011
# Posted on: 26-Jul-2013 02:02:33   

Just to answer your question. Yes I check the docs and I din't try any code because I din't find anything suitable for this. But thank for the hint. I wasn't familiar with the DBFunctionCalls. Sorry if I disturb you in some way.

Walaa wrote:

Have you checked the docs, and tried some code and it did not work?

Hint: DBFunctionCalls

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 26-Jul-2013 03:20:32   

Not at all simple_smile

Good luck.