Hi!
Im trying to sort out uniq tables from a trace file which is creted after a failed gather stat job (timeframe to short).
I would like to get out only a uniq tablename.
The file looks like this:
...
"PHA"."tableOne"."partition1"
"PHA"."tableOne"."partition2"
"PHA"."tableOne"."partition3"
"PHA"."tableOne"."partition4"
...
I try this:
awk -F. '/TABLE: "PHA"\./ {print $2} ' PHAPROD_j002_3819.trc sort|uniq
But then I get multiple table names of the same table (I guess because of the partitions)
How do I get around this?
Regards
H
[Updated on: Wed, 28 September 2011 09:10]
Report message to a moderator