SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Other Forums
 SQL Server 6.5 \ SQL Server 7.0
 How to export table in SQL6.5 to excel file?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pberp
Starting Member

15 Posts

Posted - 12/28/2009 :  22:54:47  Show Profile  Reply with Quote
Just export the data of table.

tkizer
Almighty SQL Goddess

USA
36985 Posts

Posted - 12/29/2009 :  10:57:47  Show Profile  Visit tkizer's Homepage  Reply with Quote
You can use bcp.exe and specify comma as your column delimiter.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

pberp
Starting Member

15 Posts

Posted - 12/31/2009 :  00:31:13  Show Profile  Reply with Quote
quote:
Originally posted by tkizer

You can use bcp.exe and specify comma as your column delimiter.



Do you mean that I can output only text file by bcp.exe?
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
36985 Posts

Posted - 12/31/2009 :  02:22:02  Show Profile  Visit tkizer's Homepage  Reply with Quote
That's how you do it in 6.5. Upgrade to a newer version to get more features such as DTS/SSIS.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

Trevinator
Starting Member

8 Posts

Posted - 11/02/2012 :  19:27:53  Show Profile  Reply with Quote
quote:
Originally posted by pberp

Just export the data of table.

Go to Top of Page

Trevinator
Starting Member

8 Posts

Posted - 11/02/2012 :  19:28:41  Show Profile  Reply with Quote
Are you trying to get the file out of the command line or are you using a export/import wizard?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000