VSTS 2008 Database Edition を使用してデータベース ビルドを実装しようとしています。ビルドは、次の制約で常に失敗します。
ALTER TABLE [dbo].[tablename]
ADD CONSTRAINT [DF_tablename_date] DEFAULT (CONVERT([varchar],dateadd(hour,(-1),getdate()),(1))) FOR [date];
それが示すエラーは次のとおりです。
TSD03082: The name "hour" is not permitted in this context. Valid expressions are constants, constant expressions, and (in some contexts) variables. Column names are not permitted.
ここで何が間違っているのか誰にも分かりますか?