Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

between in where clause

Former Member
0 Likes
509

HI,

Please help me in the issue. in one of my enhancement i need the the dates between two fields . In where clause i need to have

PRSDT in between a912-datbi and a912-datab. Can anyone please suggest the how can i proceed with the query.

1 ACCEPTED SOLUTION
Read only

GauthamV
Active Contributor
0 Likes
481

Try like this.


Select ...... 
from table
where PRSDT GE a912-datbi 
and PRSDT LE a912-datab.

HI,

Please help me in the issue. in one of my enhancement i need the the dates between two fields . In where clause i need to have

PRSDT in between a912-datbi and a912-datab. Can anyone please suggest the how can i proceed with the query.

2 REPLIES 2
Read only

Former Member
0 Likes
481

HI

user RANGES, so that u put the the upper limit and lower limit in that and u can use then in both the conditions u want.

thanx

gaurav

Read only

GauthamV
Active Contributor
0 Likes
482

Try like this.


Select ...... 
from table
where PRSDT GE a912-datbi 
and PRSDT LE a912-datab.