Using Firedac, is there a way to select a set of columns that have name beginning with same prefix?
Suppose we have columns Fields : PREFIX_col1, PREFIX_col2, ...
Is it possible to do a request like :
SELECT 'PREFIX_*' FROM mytable;
i have this Table: [USERS
] has 07 Fields
:
- ID (PRIMARY kEY)
- USER_NickName
- USER_Password
- EMAIL_Recovery
- REG_Insert_DateTime
- REG_Edit_DateTime
- PICTURE
I need to Select just TWO Fields using Query like that:
SELECT USER.* FROM USERS
what i mean Above is to load into my Query just this TWO Fields:
- USER_NickName
- USER_Password
WHERE they have the same PREFIX NAME !!
i know that my Query SELECT Above is Wrong, but is there a way to SELECT Fields without writing All fields names using just the Prefix they have ?
...
Very IMPORTANT Note:
//========================================================//
// < PLZ: My QUESTION IS About FIREDAC
and Not About Native SQL Statements
..!! > //
//========================================================//