QSELECT
- askandha
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 0
19 years 3 months ago #2103
by askandha
QSELECT was created by askandha
Inorder to select ids from a concat file QSELECT can be used. It can also be used to retrieve any field value from a file.
EG:
>QSELECT FBNK.CATEG.ENT.LWORK.DAY *
This will return all the CATEG.ENTRY ids from CATEG.ENT.LWORK.DAY
_________________
Tks
Kandha
EG:
>QSELECT FBNK.CATEG.ENT.LWORK.DAY *
This will return all the CATEG.ENTRY ids from CATEG.ENT.LWORK.DAY
_________________
Tks
Kandha
Please Log in or Create an account to join the conversation.
- malai
-
- Offline
- Platinum Member
-
Less
More
- Posts: 509
- Thank you received: 11
19 years 3 months ago #2104
by malai
Replied by malai on topic QSELECT
Usage of EVAL in SELECT statment.
In SELECT statment expressions can be evaluated by using EVAL function.
Here is a small example, that selects only the decimal part of WORKING.BALANCE in the file FBNK.ACCOUNT.
-->SELECT FBNK.ACCOUNT EVAL 'FIELD(WORKING.BALANCE,'.',1)'
>SAVE.LIST MYLIST
-->CT &SAVEDLISTS& MYLIST
_________________
M A L A I
In SELECT statment expressions can be evaluated by using EVAL function.
Here is a small example, that selects only the decimal part of WORKING.BALANCE in the file FBNK.ACCOUNT.
-->SELECT FBNK.ACCOUNT EVAL 'FIELD(WORKING.BALANCE,'.',1)'
>SAVE.LIST MYLIST
-->CT &SAVEDLISTS& MYLIST
_________________
M A L A I
Please Log in or Create an account to join the conversation.
- ironmaiden
- Offline
- Premium Member
-
Less
More
- Posts: 83
- Thank you received: 0
19 years 3 months ago #2105
by ironmaiden
Replied by ironmaiden on topic QSELECT
I personally feel these EVAL are going to cause a lot of performance issues... Also I heard there is something called NSELECT. I will find out more on this NSELECT and let u guys know the same.
Best Regards,
Karthik Sekar
_________________
NJOY LIFE TO THE FULLEST
Best Regards,
Karthik Sekar
_________________
NJOY LIFE TO THE FULLEST
Please Log in or Create an account to join the conversation.
- malai
-
- Offline
- Platinum Member
-
Less
More
- Posts: 509
- Thank you received: 11
19 years 3 months ago #2106
by malai
Replied by malai on topic QSELECT
Hey Hey...
No need to do any R&D on NSELECT.
Its already discovered under the topic 'use of NSELECT'
I agree, for huge select EVAL will cause performance issue.
_________________
M A L A I
No need to do any R&D on NSELECT.
Its already discovered under the topic 'use of NSELECT'
I agree, for huge select EVAL will cause performance issue.
_________________
M A L A I
The following user(s) said Thank You: N_arya_N
Please Log in or Create an account to join the conversation.
Time to create page: 0.038 seconds