anchor.diff:  cd KC-RELEASE-5_1_0-SCRIPT
   
   if /i "%mode%" == "EMBED" (
  -	mysql -u %un% -p%pw% -D %un% -s -f < KRC_RICE-RELEASE-5_1_0-Upgrade-MYSQL.sql > KRC_RICE-RELEASE-5_1_0-Upgrade-MYSQL-Install.log 2>&1
  -)
  -
  -if /i "%InstRice%" == "Y" (
  -	mysql -u %Riceun% -p%Ricepw% -D %Riceun% -s -f < KR_RICE-RELEASE-5_1_0-Upgrade-MYSQL.sql > KR_RICE-RELEASE-5_1_0-Upgrade-MYSQL-Install.log 2>&1
  -)
  -
  -mysql -u %un% -p%pw% -D %un% -s -f < KC-RELEASE-5_1_0-Upgrade-MYSQL.sql > KC-RELEASE-5_1_0-Upgrade-MYSQL-Install.log 2>&1
  -mysql -u %Riceun% -p%Ricepw% -D %Riceun% -s -f < KR-RELEASE-5_1_0-Upgrade-MYSQL.sql > KR-RELEASE-5_1_0-Upgrade-MYSQL-Install.log 2>&1
  +	mysql -u %un% -p%pw% -D %DBSvrNm% -s -f < KRC_RICE-RELEASE-5_1_0-Upgrade-MYSQL.sql > KRC_RICE-RELEASE-5_1_0-Upgrade-MYSQL-Install.log 2>&1
  +)
  +
  +if /i "%InstRice%" == "Y" (
  +	mysql -u %Riceun% -p%Ricepw% -D %RiceDBSvrNm% -s -f < KR_RICE-RELEASE-5_1_0-Upgrade-MYSQL.sql > KR_RICE-RELEASE-5_1_0-Upgrade-MYSQL-Install.log 2>&1
  +)
  +
  +mysql -u %un% -p%pw% -D %DBSvrNm% -s -f < KC-RELEASE-5_1_0-Upgrade-MYSQL.sql > KC-RELEASE-5_1_0-Upgrade-MYSQL-Install.log 2>&1
  +mysql -u %Riceun% -p%Ricepw% -D %RiceDBSvrNm% -s -f < KR-RELEASE-5_1_0-Upgrade-MYSQL.sql > KR-RELEASE-5_1_0-Upgrade-MYSQL-Install.log 2>&1
   move *.log ../LOGS/
   cd ..
   
   cd KC-RELEASE-3_0-CLEAN/mysql
  -mysql -u %Riceun% -p%Ricepw% -D %Riceun% -s -f < krrelease/datasql/KR_00_CLEAN_SEQ_BS.sql > KR_CLEAN_SEQ_BS-Mysql-Install.log 2>&1
  +mysql -u %Riceun% -p%Ricepw% -D %RiceDBSvrNm% -s -f < krrelease/datasql/KR_00_CLEAN_SEQ_BS.sql > KR_CLEAN_SEQ_BS-Mysql-Install.log 2>&1
   move *.log ../../LOGS/
   cd ../..
   
  
positive.code: 
  if /i "%version%" == "NEW" (
      if /i "%mode%" == "BUNDLE" (
      mysql -u %un% -p%pw% -D %un% -s -f < mysql_server_rice.sql > KC-Release-3_0-Clean-Server-Rice-Mysql-Install.log 2>&1
      )
      if /i "%mode%%InstRice%" == "EMBEDY" (
      mysql -u %Riceun% -p%Ricepw% -D %Riceun% -s -f < mysql_server_rice.sql > KC-Release-3_0-Clean-Server-Rice-Mysql-Install.log 2>&1
      )
  )
  
  mysql -u %Riceun% -p%Ricepw% -D %Riceun% -s -f < krrelease/datasql/KR_00_SEQ_BS.sql > KR_SEQ_BS-Mysql-Install.log 2>&1
  
  move *.log ../../LOGS/
  cd ../..
  
negative.code: :mode
  set /p mode="Enter Rice Mode (BUNDLE, EMBED) <%mode%>: "
  if /i "%mode%" == "BUNDLE" (
  	set InstRice=Y
  	goto DBType
  )
  if /i "%mode%" == "EMBED" goto InstRice
  