In both database the script is same:
select DSZAM=case when UZEMKOD='C' then 'K' else 'C' end + convert(varchar(6), @sorszam+n), DSZAMNEV=case when UZEMKOD='C' then 'K' else 'C' end + convert(varchar(6), @sorszam+n),
And it get wrapped and 2 GO added, and even the wrap is not in same position
the error in sql view and in migration scrip to, which made them bad:
select DSZAM=case when UZEMKOD='C' then 'K' else 'C' end + convert(varcha
GO
GO
r(6), @sorszam+n), DSZAMNEV=case when UZEMKOD='C' then 'K' else 'C' end + convert(varchar(6), @sorszam+n),
select DSZAM=case when UZEMKOD='C' then 'K' else 'C' end + convert(varc
GO
GO
har(6), @sorszam+n), DSZAMNEV=case when UZEMKOD='C' then 'K' else 'C' end + convert(varchar(6), @sorszam+n),
In both database the script is same:
And it get wrapped and 2 GO added, and even the wrap is not in same position
the error in sql view and in migration scrip to, which made them bad:
GO
GO
r(6), @sorszam+n), DSZAMNEV=case when UZEMKOD='C' then 'K' else 'C' end + convert(varchar(6), @sorszam+n),
GO
GO
har(6), @sorszam+n), DSZAMNEV=case when UZEMKOD='C' then 'K' else 'C' end + convert(varchar(6), @sorszam+n),