DELETE FROM [ynhtm_Setting];
DELETE FROM [ynhtm_User];

INSERT INTO ynhtm_User
      (UserName, PassWord, OAuthQzoneID, IsLock, IsAdmin, PostCount, CommentCount, 
      LoginCount, RegIP)
VALUES (@UserName, @PassWord, NULL, 0, 1, 0, 0, 0,@IP);

INSERT INTO ynhtm_Setting
      (SiteName, SiteUrl, SiteEnabled, WapEnabled, AuthcodeEnabled, MapEnabled, 
      MapRowCount, TotalType, CacheEnabled, CacheExpire, CacheType, 
      OAuthQzoneEnabled, UserCount, RssEnabled, RssRowCount, RssShowType, 
      PageSize, PostCount, CommentEnabled, CommentSort, CommentPageSize, 
      CommentAudit, CommentCount, PicMaskEnabled, PicMaskFile, PicMaskPos, 
      PicQuality, UpfileCount, UpfileSize, JobCount, JobTryCount)
VALUES (@SiteName,@SiteUrl, 1, 0, 0, 1, 50, 2, 0, 60, 2, 0, 0, 1, 20, 3, 20, 0, 1, 0, 30, 2, 0, 
      1,@PicMaskFile, 1024, 80, 0, 0, 0, 0);