mutley1
MIS
- Jul 24, 2003
- 909
Hi guys,
I'm building a config build script in SQL 2000 and have a quick output question. Probably an easy one, but the thing is I am trying to do it to write results to text so my boss can run it then just copy and paste the results into a doc.
Q: If I run exec master.dbo.sp_helpfile, for example, the fields are extremely long - is there an easy way to trim the output so master and mastlog etc. are just the length they need to be as opposed to with extra spaces until the next field?
TIA,
M.
I'm building a config build script in SQL 2000 and have a quick output question. Probably an easy one, but the thing is I am trying to do it to write results to text so my boss can run it then just copy and paste the results into a doc.
Q: If I run exec master.dbo.sp_helpfile, for example, the fields are extremely long - is there an easy way to trim the output so master and mastlog etc. are just the length they need to be as opposed to with extra spaces until the next field?
TIA,
M.