|
-
Oct 7th, 2005, 03:59 PM
#1
Thread Starter
New Member
Excel Data Extraction
Hi all,
I have an excel sheet.I have to import the data from this sheet to sql server table . Appreciate if anybody can tell how to do this.
Regards,
Nye
-
Oct 7th, 2005, 05:17 PM
#2
Re: Excel Data Extraction
Hi tp_nye, welcome to VBForums! 
The easiest way to do this is to use the tools built in to the Enterprise Manager (EM) application provided with SQL Server, as the import/export wizard can get data from many sources, including Excel files.
You just need to locate the server & database with EM, then right-click on it and select the Import option. I haven't got the software with me, but I think that most/all of the steps are fairly clear. If you have any problems doing it, let us know
-
Oct 7th, 2005, 05:39 PM
#3
Re: Excel Data Extraction
Yes, Si is correct. EM 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 when added to a scheduled Job.
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.
Last edited by RobDog888; Oct 7th, 2005 at 05:43 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 
-
Oct 7th, 2005, 05:46 PM
#4
Re: Excel Data Extraction
Nice pictures RobDog 
That wasn't actually what I was thinking (it's a good alternative tho - especially if this will be repeated), I was thinking of the Wizard when you right-click on a table within a database (or on the database name) and select "Import.." or whatever it is called.
-
Oct 7th, 2005, 05:49 PM
#5
Re: Excel Data Extraction
Ok, let me re-connect to the server and double check.
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 
-
Oct 7th, 2005, 05:57 PM
#6
Re: Excel Data Extraction
Its the same thing only different way to get there basically with a few minor differences. 

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 
-
Oct 7th, 2005, 06:04 PM
#7
Re: Excel Data Extraction
Yep, but it is a bit easier to use in my opinion.
-
Oct 7th, 2005, 06:17 PM
#8
Re: Excel Data Extraction
Tomatò vs. Tomatoë
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
|