Exporting a query to csv file
866252Jun 2 2011 — edited Jun 2 2011Here is the sql query I am running
SELECT * FROM analytics.BOS_RT_TP_GT_PR_FINAL WHERE TMC like '129N04774' ORDER BY LOCAL_DATE
after I run the query I then am right clicking on the table, going to export, setting the file to a csv and the directory to c:/temp/tmcs/129N04774.csv then running that
is there a way I can write an export command directly into the code so I don't have to click and go through the gui each time?
Thanks!