YAFLogo

mika_soukhov
13 years ago
Sponsor
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
13 years ago
Change the column to type nvarchar by hand. and

this should be fixed.in tables.sql


if exists (select top 1 1 from syscolumns where id=object_id('[{databaseOwner}].[{objectQualifier}Poll]') and name=N'Question' AND prec < 256 )
begin
	alter table [{databaseOwner}].[{objectQualifier}Poll] alter column Question nvarchar(256) NOT NULL
end
GO
vbreader
  • vbreader
  • 50.6% (Neutral)
  • YAF Forumling
13 years ago

Change the column to type nvarchar by hand. and

this should be fixed.in tables.sql


if exists (select top 1 1 from syscolumns where id=object_id('[{databaseOwner}].[{objectQualifier}Poll]') and name=N'Question' AND prec < 256 )
begin
	alter table [{databaseOwner}].[{objectQualifier}Poll] alter column Question nvarchar(256) NOT NULL
end
GO

Originally Posted by: bbobb 

Hi Thank you for the changes i used the alter table and it worked thank you so much