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 |
|
sql777
Constraint Violating Yak Guru
314 Posts |
Posted - 2005-05-29 : 14:28:21
|
| Hi,I have a script i run in QA and everyday I have to manually change the date '2005/05/28' manually adjusing for the current month/day.How can I use a built-in date function to represent this date? (excluding any time information in the date) |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-05-29 : 16:10:47
|
use variable which you set to getdate()?Go with the flow & have fun! Else fight the flow |
 |
|
|
rockmoose
SQL Natt Alfen
3279 Posts |
Posted - 2005-05-29 : 17:10:24
|
| SELECT CONVERT(CHAR(10),GETDATE(),111)rockmoose |
 |
|
|
|
|
|