954b8eb4-e2ee-44f0-8e05-535a891b19ad BAZA_REKLAM 29.7cm String liczba_og true sortuj po: reklama_id liczba_og data nr_wydania String true tytuł ListaTytulow SYMB SYMB String nr wydania true 21cm 0.25cm true 2.5cm 2.5cm 2.5cm 0d754e4e-d550-4bb7-a1ab-4faa3a823e1b 21cm reklamaId System.Int32 ID REKLAMY System.String wyroznienie System.Boolean Wyroznienie_exported System.Boolean logo System.Boolean tytuł System.String numer wydania System.Int16 REKLAMA_ID System.String liczba_og System.Int32 DATA System.String NR_WYDANIA System.Int16 BAZA_REKLAM Select reklamaId, [ID REKLAMY], wyroznienie,Wyroznienie_exported,logo,tytuł, [numer wydania], [REKLAMA_ID], 'liczba_og' = case when [nr_wydania] is NULL then 0 else count(reklama_id) end,DATA,NR_WYDANIA from (select R.ReklamaID, R.[ID REKLAMY], R.Wyroznienie,R.Wyroznienie_exported, R.logo, R.tytuł, U.[nr wydania] as [numer wydania] , Og.[REKLAMA_ID],Og.ID, Og.DATA,Og.NR_WYDANIA from dbo.REKLAMA R left join dbo.[UKAŻE SIĘ W NR] U on r.reklamaId = U.reklamaId full outer join [DANE_OGL_SQL].dbo.DANE Og on R.[ID REKLAMY]=Og.[REKLAMA_ID] where ((Og.[REKLAMA_ID] is not null and Og.[REKLAMA_ID]<>'') OR (R.wyroznienie=1)) and R.tytuł =@tytul and U.[nr wydania]=@nrwydania ) T group by ReklamaID, [ID REKLAMY], [Reklama_Id],wyroznienie,Wyroznienie_exported,logo,tytuł, [numer wydania],DATA,NR_WYDANIA order by liczba_og desc =Parameters!tytul.Value =Parameters!nrwydania.Value true SYMB System.String BAZA_REKLAM SELECT SYMB FROM [LISTA TYTUŁÓW] WHERE (st_aktywny = - 1) true 19cm 1cm Wyroznienia0.25cm18.5cm
ID_REKLAMY 8 true =Fields!ID_REKLAMY.Value textbox3 7 true =Fields!numer_wydania.Value wyroznienie 6 true =iif(Fields!wyroznienie.Value=true,"TAK","NIE") Wyroznienie_exported 5 true =iif(Fields!Wyroznienie_exported.Value=true,"TAK","NIE") 4 true =iif(Fields!logo.Value=true,"OK","BRAK") REKLAMA_ID 3 true =Fields!REKLAMA_ID.Value DATA 2 true =Fields!DATA.Value NR_WYDANIA 1 true =Fields!NR_WYDANIA.Value liczba_og true =Fields!liczba_og.Value 0.63492cm =switch(Parameters!sortuj.Value="reklama_id",Fields!REKLAMA_ID.Value,Parameters!sortuj.Value="liczba_og",Fields!liczba_og.Value,Parameters!sortuj.Value="data",Fields!DATA.Value,Parameters!sortuj.Value="nr_wydania",Fields!NR_WYDANIA.Value) Ascending
4 textbox2 20 true BAZA REKLAM textbox4 19 true 4 textbox5 18 true BAZA OGŁOSZEŃ 0.63492cm 17 true Symbol textbox1 16 true Nr wyd. 15 true Wyr. 14 true Export textbox6 13 true Logo 12 true Symbol 11 true Data 10 true Nr wyd. 9 true Liczba ogł. 0.63492cm
2.75cm 2cm 1.5cm 1.5cm 1.5cm 2.75cm 2.25cm 2cm 2.25cm 1.90476cm0.25cm
2.40476cm en-US 2.5cm 29.7cm