March 9, 2004 at 12:56 pm
What is the easiet way to print records from a SQL table?
March 9, 2004 at 1:55 pm
I pretty often pipe the result of a query in QA to a *.csv file and print it with Excel.
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 9, 2004 at 1:55 pm
run your select and hit CTRL-P once done
March 10, 2004 at 7:02 am
How do you "pipe" to a .csv file?
March 10, 2004 at 7:17 am
The CTL-P only printed the select statement, not the results.
March 10, 2004 at 7:35 am
In QA go to Extras-> Options.
Click on the result tab, select the appropriate settings in both combos (Sorry, I have the German version of QA, so i don't know their english equivalent).
Another quick and dirty method is to run statement in QA, place the cursor into the grid CTRL-A, CTRL-C, switch to Excel, CTRL-V.
In the script section I guess you'll find scripts that produce csv files.
HTH
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply