473,461 Members | 1,454 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

SQL and SSIS updating one Table Column for each Excel Sheet

Hi all,

I want to export 1 big excel workbook containing 200 Sheets in it, and is classified according to Class. Each sheet name is unique according to the class.
I am building a package to export data from excel sheet to SQL table. I want to export whole Excel workbook in one table of SQL.
I need help here. I want to add one column Class in the SQL table. I want to add Sheet name into that Class column, so for every sheet if there are 10 items in one sheet. For that 10 items the Class Column will contain that sheet name and as I further exports sheet to that table according to the sheet name the Class column for that particular item should be updated.
Is this possible?

I need idea of how to implement this?

Thank you all in advance.
Oct 19 '10 #1
2 2019
ck9663
2,878 Expert 2GB
I'm not sure you can all do that in SSIS. You might be able to that through T-SQL. You can definitely do that in Excel via VBA...

Good Luck!!!

~~ CK
Oct 19 '10 #2
Thanks Much
Oct 19 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Scott | last post by:
I want to search 5 or 6 very big excel spreadsheets looking for specific data held in them. The search would be using clients surnames and maybe postcodes to eventually find the correct person. ...
3
by: imtmub | last post by:
Hi, I am trying to link sql table field and excel sheet column. SELECT wko_itemid, imc_qty, ima_price FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel...
1
by: runway27 | last post by:
1. I need to export data that is in a table to an excel sheet with the field names on top followed by the values of the fields. I know how to extract the data and display with echo statement,...
1
by: veer | last post by:
hello expert i want to insert the date in one column of excel sheet but the date should be one which i enter in vb form e,g i have a column name Date and i want to show the date which i select...
1
by: asillam | last post by:
Hi I`m trying to automate saving Excel sheets (each one) in csv file format with vbScript. Loop preferable I tried something... please someone help me. Sub CSV2() Dim appExcel As...
5
by: sangeethass | last post by:
How to export sql server-2005 table data into excel sheet .. Can u tell me how can i do this both my manually and by programmewise using perl please help me... thanks Sangeetha.S
7
by: TG | last post by:
hi! I am trying to create a sql server table from an excel sheet. Here is the code I have: 'This procedure the xlsx file and dumps it to a table in SQL Server
0
by: todubhai | last post by:
I am using the following code to extract the sheet names from excel: (See attached code) private String GetExcelSheetNames(string sConnectionString) { OleDbConnection objConn...
1
by: tarekz | last post by:
I have a table on an SQL server 2005, I would like to change the value of one field to another based on an excel sheet value. In other words, if the value in the SQL table matches the value in...
1
by: PeacefulSoul | last post by:
Hello, I have a lot of excel sheets which columns are slightly different, i want to import all of these sheets (one at a time) into ONE SQL TABLE. I'll give an example : Say ive written the...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.