Search Results

Search: Posts Made By: alisha
8,428
Posted By aigles
Try and adapt this new version of my script :awk...
Try and adapt this new version of my script :awk '
BEGIN {
fmtI = "%-12s %-12s %-16s %s\n";
fmtNoI = "%-12s %s\n";

print "TABLES"
printf fmtI, "TABLE_NAME", "COLUMN_NAME",...
8,428
Posted By aigles
Seems thatr there is a missing line in your...
Seems thatr there is a missing line in your script : next ; # Proceed next record
}

/^ADD/,/;[[:space:]]*$/ { # Select ADD records (from ADD to

...
3,692
Posted By pseudocoder
Maybe awk '/^alter table/ {print $3}' file >...
Maybe
awk '/^alter table/ {print $3}' file > table.names
:confused:
Showing results 1 to 3 of 3

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