diff --git a/FTPUpload/Form1.vb b/FTPUpload/Form1.vb index 99a0341..ca6d062 100644 --- a/FTPUpload/Form1.vb +++ b/FTPUpload/Form1.vb @@ -135,7 +135,7 @@ Public Class Form1 Dim sql As New Gastro.cSQL Dim Upload2SQLGuide As String = "INSERT INTO [SQLGUIDE01.verag.ost.dmn].[AVISO].dbo.[tblEBMenu] -Select * from [192.168.2.17].[Gastro].dbo.[GMenu] as table1 +Select *, 5 as [MenuBestellungBisTageVorher] from [192.168.2.17].[Gastro].dbo.[GMenu] as table1 WHERE NOT EXISTS ( select * from [SQLGUIDE01.verag.ost.dmn].[AVISO].dbo.[tblEBMenu] as table2 WHERE table1.MenuTitel = table2.MenuTitel AND table1.[MenuDateVon] = table2.[MenuDateVon] )