/ Published in: SQL
                    
                                        
select cast(floor(cast(getdate() as float)) as datetime)
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
http://microsoftmiles.blogspot.com/2006/11/remove-time-from-datetime-in-sql-server.html
Comments
 Subscribe to comments
                    Subscribe to comments
                
                