Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BSO.DSO.ExecuteSQL("UPDATE TMP_Empresas set Logotipo = (select TOP 1 Logotipo from PRIEMPRE..Empresas Where Codigo='" + BSO.Contexto.CodEmp + "')");
- BSO.DSO.ExecuteSQL("UPDATE CabLiq set CDU_Logotipo = (select TOP 1 Logotipo from TMP_Empresas) from CabLiq where CDU_Logotipo is null Or ISNULL(CDU_Logotipo,'')<>''");
- BSO.DSO.ExecuteSQL("UPDATE CabecDoc set CDU_Logotipo = (select TOP 1 Logotipo from TMP_Empresas) from CabecDoc where CDU_Logotipo is null Or ISNULL(CDU_Logotipo,'')<>''");
- BSO.DSO.ExecuteSQL("UPDATE cabeccompras set CDU_Logotipo = (select TOP 1 Logotipo from TMP_Empresas) from cabeccompras where CDU_Logotipo is null Or ISNULL(CDU_Logotipo,'')<>''");
- BSO.DSO.ExecuteSQL("DISABLE TRIGGER ALL ON dbo.CabecInternos");
- BSO.DSO.ExecuteSQL("UPDATE CabecInternos set CDU_Logotipo = (select TOP 1 Logotipo from TMP_Empresas) from CabecInternos where CDU_Logotipo is null Or ISNULL(CDU_Logotipo,'')<>''");
- BSO.DSO.ExecuteSQL("ENABLE TRIGGER ALL ON dbo.CabecInternos");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement