Print ''
Print '-------------------------------------------------------------------------'
Print ' using Database: #DB_N#'
Print ' Action        : MaintainDatabase.sql'
Print ' Creation Date : 24.02.2009'
Print ' Autor         : J.Feuerstein'
Print '-------------------------------------------------------------------------'

use [#DB_N#]

DECLARE @Name nvarchar(64)
DECLARE @ValueCurr nvarchar(max)
DECLARE @ValueDesired nvarchar(max)
DECLARE @ValueCompareStat int
DECLARE @ExecuteSQLstr nvarchar(max)



Print ''
Print '-------------------------------------------------------------------------'
Print 'Maintain Database: #DB_N# !Start!'
Print '.........................................................................'

-- #New: 27.03.2013 21:26 J.Fes
select top 5 * from
  dbo.tblUserCount
-- SET
--  MesslinieID = 1
WHERE
  MesslinieID is null



-- #New: 27.03.2013 21:26 J.Fes
/*
UPDATE
  dbo.tblUserCount
SET
  MesslinieID = 1
WHERE
  MesslinieID is null
*/


EndeExit:
 Print '.........................................................................'
 Print ('Maintain Database: #DB_N# !Done!')
 Print '-------------------------------------------------------------------------'
 Print ''
GO
