-
Apr 24th, 2006, 06:08 PM
#1
[FAQ's: OD] How do I transfer data between Excel and SQL Server using SQL Server DTS?
Enterprize Manager has a tool called the DTS - Data Transformation Services. You can set up a package for one time use of for use over and over again and/or add it to a scheduled Job.
SQL Server 2000 DTS Import Example:
Create a new package from the left pane or just right click on the right pane and select new package.
You will want to select the Excel source file and configure any needed settings.
Then select the SQL server and map any transformations needed.
Then select the Excel source you just created and hold down the shift button and select the SQL server source you also created and then click on the transformation gears to create a link flow from excel to sql.
When your done you can save it for repeated use (optional).
Export from SQL Server to Excel:
Just reverse the source and destinations. Select your SQL Server as the source and select Excel as the destination. Set any needed settings. Then create the transformation flow and update any settings needed and thats about it.
Last edited by RobDog888; Apr 27th, 2006 at 02:51 PM.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|