	CREATE OR ALTER PROCEDURE sp_VTVersiyon 
	AS 
	BEGIN
		 if not exists (select * from dbo.syscolumns where id = object_id(N'VTGuncellemeleri') and name=N'Prg') 
		 begin 
			ALTER TABLE VTGuncellemeleri add Prg NVARCHAR(2) NOT NULL Default('OM') 
		 end

		 SELECT MAX(VTVersiyon) VTVersiyon FROM VTGuncellemeleri Where Prg='OM';
	END;	