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 |
rookie_sql
Constraint Violating Yak Guru
443 Posts |
Posted - 2009-04-01 : 07:53:56
|
Hi am trying to include the -1 value into the getdate() part of this expression but i am getting a error on the syantaxThis is my expression@[User::Files] +"W"+(DT_WSTR, 4) DATEPART("ww", getdate())I'd like to change it to this @[User::Files] +"W"+(DT_WSTR, 4) DATEPART("ww", getdate()-1) |
|
|
|
|