1m_Polecenie = new SqlCommand("select ISNULL(CDN.NumerDokumentuTRN(SaN_GIDTyp,0,SaN_SaNTyp,SaN_SaNNumer,SaN_SaNRok,SaN_SaNSeria),'') from cdn.sadnag where san_gidnumer=@Numer", _Sql._Conn); 2