I am trying to get a request-level log file into Excel 2007.
Right now I do the following, but while it catches most fields (the quotes in SQL statements cause problems) there are still some messed up. I suspect I could do better with the OUTPUT statement. Does anyone have an OUTPUT they use?
call sa_get_request_times('mydb.rll'); select * from satmp_request_time ORDER BY millisecs desc; output to 'mydb.csv' with column names delimited by ',' quote '"' all format text;
asked 02 Feb '12, 15:39
A few suggestions:
2) Try ESCAPES OFF (UNLOAD supports it, presumable OUTPUT does too). As far as I can tell, Excel CSV does not support escapes.
3) Try using XML as the intermediate file.
answered 03 Feb '12, 10:04