if exists(select * from syscolumns where id=OBJECT_ID('Pub_JYQUser') and name='JionType') BEGIN EXEC sp_rename '[dbo].[Pub_JYQUser].[JionType]', 'JoinType', 'COLUMN' END