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 |
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2009-10-21 : 04:26:05
|
i know that it's possible to bulk upload using a view to a tables.the things is that i have a solumn with a date in this structure :20091021125619 which is : 2009/10/21 12:56:19and i want to inset to diffrent tables based on the DAY value,in this example 21. how can i do it?ThanksPeleg |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2009-10-21 : 05:14:59
|
Do you have multiple tables with the convention of table1,tabl2,etc?MadhivananFailing to plan is Planning to fail |
|
|
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2009-10-22 : 18:25:08
|
the tables structure all of them is the samethe only diffrence is that i want to insert to each table is by its day of monthpeleg |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2009-10-23 : 02:03:18
|
isert into table_21(columns)select columns from your_view where substring(date_col,7,2)=21MadhivananFailing to plan is Planning to fail |
|
|
|
|
|