using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Exferia_EntityFramework.Script_Actualizacion
{
    class Scripts_Version_1351
    {
        public static Version G_VRS_VERSION = new Version("1.3.5.1");
        public static long G_LNG_VERSION = 1351;
        public static int G_INT_TIPO = 0;
        public static string G_STR_SCRIPT =
                                    //CAMBIAR valores TIPODOCUMENTO EN MAE_CLIENTES
                                    " IF exists " +
                                    " ( " +
                                        " SELECT * " +
                                        " FROM MAE_Clientes " +
                                        " WHERE tipoDocumento IS NULL OR tipoDocumento='1' " +
                                    " )  " +
                                    " BEGIN " +
                                        " UPDATE MAE_Clientes SET tipoDocumento='A' WHERE tipoDocumento IS NULL OR tipoDocumento='1' " +
                                    " END " +
                                    //CAMBIAR valores TIPODOCUMENTO EN MAE_CLIENTES
                                    " IF exists " +
                                    " ( " +
                                        " SELECT * " +
                                        " FROM MAE_Clientes " +
                                        " WHERE tipoDocumento='2' " +
                                    " )  " +
                                    " BEGIN " +
                                        " UPDATE MAE_Clientes SET tipoDocumento='F' WHERE tipoDocumento='2' " +
                                    " END ";







    }

}
