I have a data file where every row value is shown as a new column entry. I want to convert this or find a logic to make this file loadable to a database. Below is sample of how the data is in the file.
The file is huge. It has more than >7000 columns. I have tried loading/importing this to a table but it exceeds max column limit in all the tools
+--------+-----------+----------+----------+----------+------------+------------+------------+------------+
| emplid | status_0 | status_1 | status_2 | status_3 | location_0 | location_1 | location_2 | location_3 |
+--------+-----------+----------+----------+----------+------------+------------+------------+------------+
| 1234 | Submitted | Reviewed | Approved | Accepted | | California | Michigan | |
+--------+-----------+----------+----------+----------+------------+------------+------------+------------+
| 4568 | Submitted | Reviewed | Denied | | Texas | Utah | Illinois | NewYork |
+--------+-----------+----------+----------+----------+------------+------------+------------+------------+
+--------+-----------+------------+
| emplid | status | location |
+--------+-----------+------------+
| 1234 | Submitted | |
+--------+-----------+------------+
| 1234 | Reviewed | California |
+--------+-----------+------------+
| 1234 | Approved | Michigan |
+--------+-----------+------------+
| 1234 | Accepted | |
+--------+-----------+------------+
| 4568 | Submitted | Texas |
+--------+-----------+------------+
| 4568 | Reviewed | Utah |
+--------+-----------+------------+
| 4568 | Denied | Illinois |
+--------+-----------+------------+
| 4568 | | Newyork |
+--------+-----------+------------+