Skip to Content
0
Former Member
Aug 10, 2011 at 05:50 AM

Data selection

25 Views

Hi gurus,

I need to understand the data selection from pcl4 as shown below.

SELECT client relid srtfd srtf2 histo aedtm uname pgmid versn clustr

INTO TABLE t_pcl4

FROM pcl4 WHERE relid EQ 'LA'

AND srtfd IN srtfd_select_range_tab

AND srtf2 EQ '00'

AND aedtm IN datum

AND NOT uname IN s_coname.

contents of range srtfd_select_range_tab.

srtfd_select_range_tab-SIGN=I

srtfd_select_range_tab-OPTION=BT

srtfd_select_range_tab-LOW=A00123981###############################

srtfd_select_range_tab-HIGH=A06052471ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ.

00123981(low value) and 06052471(high value) were the employee number ranges selected for an orgunit. can anyine tell me what kind of selecrtion is this using ##### and ÿÿÿÿ followed after employee numbers.

My problem is this select statement is executing long time and exceed time limit while running online. Appriciate if you get back on this.

Thanks,

Kumar.