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 |
|
bjornh
Yak Posting Veteran
87 Posts |
Posted - 2002-10-12 : 10:39:19
|
| hi,I've got a table with data that looks like this:date | pageviews---------------------------------------17-8-2002 | 20418-8-2002 | 3420-8-2002 | 5421-8-2002 | 7823-8-2002 | 100---------------------------------------As you can see, there are some dates missing. No not really missing, but on those dates there was not a hit (pageview) on the server. Now, I would like to create a output like this:date | pageviews---------------------------------------17-8-2002 | 20418-8-2002 | 3419-8-2002 | 020-8-2002 | 5421-8-2002 | 7812-8-2002 | 023-8-2002 | 100---------------------------------------so with the dates that where missing added on the right position.What is the best way to approach this problem?ThanksBjorn HuijbregtsEdited by - bjornH on 10/12/2002 10:41:56 |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2002-10-12 : 11:08:05
|
| http://www.sqlteam.com/item.asp?ItemID=3332 |
 |
|
|
bjornh
Yak Posting Veteran
87 Posts |
Posted - 2002-10-12 : 11:22:04
|
| Ow sorry, I missed that one. Thanx |
 |
|
|
|
|
|