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 |
|
masond
Constraint Violating Yak Guru
447 Posts |
Posted - 2012-08-31 : 07:19:55
|
| ---Please delete Thread ---- |
|
|
nigelrivett
Master Smack Fu Yak Hacker
3385 Posts |
Posted - 2012-08-31 : 07:28:22
|
| set @Date = (select dateadd(MM,-12,max(hst_date_processed))this needs a from clause.==========================================Cursors are useful if you don't know sql.SSIS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
masond
Constraint Violating Yak Guru
447 Posts |
Posted - 2012-08-31 : 07:34:38
|
| Just worked that out myself. Thank you for your answer |
 |
|
|
|
|
|