Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sri2000
Starting Member
2 Posts |
Posted - 2011-02-17 : 20:30:02
|
Hi I need to export the excel data to existing table in SQL SERVER 2008.The data in excel is having quantity details on weekly basis as below Date 13-08-10 20-08-10 27-08-10 Name Type QtyP1 D1 100 200 200P2 D1 200 300 400P3 D1 100 200 500 I need to export the above data to below existing DB tableTable-----NameTypeDateQtyHow can I export this data using queries?Thank you.edit: moved to proper forum |
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
sri2000
Starting Member
2 Posts |
Posted - 2011-02-18 : 12:03:05
|
Thank you for reply.I read the thread. Do I need to change the data format in excel sheet as below before using the query?Name Type Date QtyP1 D1 13-08-10 100 P1 D1 20-08-10 200 P1 D1 27-08-10 200 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2011-02-24 : 03:20:41
|
quote: Originally posted by sri2000 Thank you for reply.I read the thread. Do I need to change the data format in excel sheet as below before using the query?Name Type Date QtyP1 D1 13-08-10 100 P1 D1 20-08-10 200 P1 D1 27-08-10 200
If the table has this format, then you need to change the data formatMadhivananFailing to plan is Planning to fail |
|
|
|
|
|