I have two select queries that need to have a column of line numbers on them. The numbers need to simply be 1 through however many rows there are in the result set. With the data I'm using the result set usually under 100 rows for each query. I've read solutions that involve using the primary key field and a COUNT function. Those have not worked for me as my data set comes from a linked CSV file with no primary key. I'm using a linked CSV file because the data is updated often. I want to get my CSV file, run my queries on it and get my exported files. To further complicate matters, the data does not contain a field contains unique values that could be a primary key.
The results of these two queries will be exported to CSV files and then imported into another data system.
Any help or ideas would be appreciated.
Chad
The results of these two queries will be exported to CSV files and then imported into another data system.
Any help or ideas would be appreciated.
Chad
Comment