USE BAZA_REKLAM

DECLARE @version varchar(10)
SET @version='1.1.28'

UPDATE config2
SET current_version=@version, data=getdate()
WHERE id=1


UPDATE Applications.dbo.app
SET ver=@version, dateVer=getdate()
WHERE name='BazaReklam'

SELECT * FROM config2

SELECT * FROM Applications.dbo.app
