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 |
|
pavlos
Yak Posting Veteran
59 Posts |
Posted - 2012-02-16 : 19:46:34
|
| hey guys,So I want to make a data bucket table with 4 location id's attached to each date.I want the table to look like thisDATE | Location1-1-2011 | 1221-1-2011 | 2321-1-2011 | 3311-1-2011 | 4312-1-2011 | 1222-1-2011 | 2322-1-2011 | 3312-1-2011 | 4313-1-2011 | 1223-1-2011 | 2323-1-2011 | 3313-1-2011 | 431(Australian so its dd-mm-yy) hahaI want the dates to start at the 1st on November 2011and go up to the 31st of December 2015What is an easy way to code this.Even If I can return the above as an SQL QUERY I can just use visual studio and ETL the results into a new table |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
|
|
|
|