In my database table a lot of columns using 'X_' prefix, anyway I don't to see all those columns having 'X_' as prefix using SELECT query.
Note : I know if we define individual required column names in
SELECTquery, then we can achieve result set with specified column names. But, I am lazy guy.:)
So, I need SELECT query which excludes all those columns having 'X_' as a prefix.
For Example:
-------------------------------------------------------------
SN | NAME | X_STATUS | X_MODE | X_DATE | ADDRESS
-------------------------------------------------------------
1 Ram S1 M1 A
2 Sita S1 M1 B
3 Gita S2 M2 C
4 Hari S3 M3 B
But I need result set like below using 'X_' as a prefix to exclude that prefix having columns.
--------------------------
SN | NAME | ADDRESS
--------------------------
1 Ram A
2 Sita B
3 Gita C
4 Hari B
Thanks in advance !:)