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

select from database table

Former Member
0 Likes
374

Hi Experts,

I have a database table having fields

entity account period category value filename

A 1 001 ABC 100 abc.xls

A 1 002 ABC 200 abc.xls

B 2 001 DEF 300 sef.xls

I now need to update a control table from the database table which will select all the distinct filenames , from the database table .

how to do this

Thanks

Ankit

2 REPLIES 2
Read only

Former Member
0 Likes
354

Hi,

In the select query write:

select distinct ( filename) from dtab.

Read only

Former Member
0 Likes
354

Hi

Select DISTINCT <Col_filename> from table

into table it_tab