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.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Help with query

Author  Topic 

Soky
Starting Member

1 Post

Posted - 2012-03-16 : 10:08:39

Heloo, i'm new in Sql world so i need help please!
Well, i have simple table (TimeSample)

| ID | DateVal |
--------------------------------
| 4971 | 17.10.2008. 13:30:40 |
--------------------------------
| 4972 | 27.10.2008. 21:56:51 |
-------------------------------
| 4973 | 27.10.2008. 22:30:28 |
--------------------------------
| 4974 | 28.10.2008. 0:01:53 |
------------------------------
| 4975 | 28.10.2008. 0:03:23 |
-------------------------------
| 4976 | 28.10.2008. 0:04:50 |
|------------------------------
| 4977 | 29.10.2008. 4:24:10 |
-------------------------------
| 4978 | 29.10.2008. 4:30:51 |
------------------------------
| 4979| 29.10.2008. 4:36:00 |

I need query that will grab all records from single day and put it in excell file.
Records need put in same excel but in diferent sheet.
Help

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-03-16 : 11:25:36
you mean the above data should end up in three excel sheets? one for each day?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -