Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: DGPickett
1,480
Posted By DGPickett
You need a sql knowlegable parser to normalize...
You need a sql knowlegable parser to normalize the target list. It is more than just comma separated, as commas can occur in other contexts, like function calls and quoted strings. Can you do...
1,480
Posted By DGPickett
So, just do a:ct=0 for col in `cat file` do ...
So, just do a:ct=0
for col in `cat file`
do
cols[$ct]=$col
(( ct++ ))
done
1,480
Posted By DGPickett
Load an array of 20 entries, "NULL Default_01"...
Load an array of 20 entries, "NULL Default_01" through "NULL Default_20". The read your file and replace the first entries in the array with column names from the file. Now, generate a query string...
1,480
Posted By DGPickett
In shell or some flavor of procedural SQL?
In shell or some flavor of procedural SQL?
Showing results 1 to 4 of 4

 

Featured Tech Videos

All times are GMT -4. The time now is 05:49 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy