Member Login:
e-mail:
password:
Register
Forgot Password
Site FAQ
Home
>
IT Answers
>
SQL Server
> How to save the output from an SQL select statement to a spool file
Tomotsk
75 pts.
How to save the output from an SQL select statement to a spool file
SELECT statement
,
Spool files
,
Spool to Flat
,
SQL
,
SQL statements
,
Start Structured Query Language
,
STRSQL
Please can someone tell me how I can save the output from an SQL select statement to a spool file. Thanks, Tom
Software/Hardware used:
ASKED:
December 12, 2008 10:23 AM
UPDATED:
June 19, 2011 3:03 PM
Discuss
 
Add to Watchlist
RELATED QUESTIONS
RUNSQLSTM
Re-open a spool file
AS/400 raw spool files
Spool files CONTROL
SQLRPGLE
Answer Wiki:
Hi, If you're running your SQL statement from STRSQL - Press F13 (Services), select option 1 (Change session attributes), Change the "SELECT Output" parameter to option 2 = Printer. Regards, Martin Gilbert.
Hi, If you're running your SQL statement from STRSQL - Press F13 (Services), select option 1 (Change session attributes), Change the "SELECT Output" parameter to option 2 = Printer. Regards, Martin Gilbert.
Last Wiki Answer Submitted:
December 12, 2008 10:53 am
by
Gilly400
23,625 pts.
All Answer Wiki Contributors:
Gilly400
23,625 pts.
To see all answers submitted to the Answer Wiki:
View Answer History
.
Please complete the following information:
REGISTER / LOG-IN TO ANSWER QUESTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Submit your e-mail address below to continue
E-mail: 
E-mail:
Company:
Handle:
Password:
Forgot Password?
Create Handle:
Your handle identifies you in IT Answers. Max 30 char.
Create Password:
Confirm Password:
Yes, I'd like to receive the IT Knowledge Exchange Community Newsletter
Yes, I agree to the
Terms and Conditions.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
hidden modal window
RSS - Discussions
Help
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Please complete the following information:
REGISTER / LOG-IN TO DISCUSS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Submit your e-mail address below to continue
E-mail: 
E-mail:
Company:
Handle:
Password:
Forgot Password?
Create Handle:
Your handle identifies you in IT Answers. Max 30 char.
Create Password:
Confirm Password:
Yes, I'd like to receive the IT Knowledge Exchange Community Newsletter
Yes, I agree to the
Terms and Conditions.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
hidden modal window
POSTED:
Jun 19, 2011 3:03 PM (GMT)
excellent….cheers!!!
Ymym
10 pts.
Ask a Question
Question Title:
(150 char. limit.)
Question:
(Please be specific.)
Tags:
(Separate each tag with a comma.)
What is a Tag?
Browse IT Answers by Topic
AS/400
Big Data
Business Intelligence
Channel
CIO
Cloud Computing
Consumerization
CRM
Database
DataCenter
Development
Exchange
Linux
Lotus Domino
Microsoft Windows
Mobile
Networking
Oracle
SAP
Security
SQL Server
Storage
Virtualization
VoIP
Windows Server
>>
VIEW ALL TAGS
excellent….cheers!!!