create proc sp_Alan_Karsilatir @db1 nvarchar (50), @db2 nvarchar (50)
as
select top 1 * from STOKHAR
union
select top 1 * from Ent_OZDESRV.dbo.STOKHAR
union
select top 1 * from Ent_SBSNET18.dbo.STOKHAR


select top 10 Tutar , DovizTut, DovizKodu,DovizKur, * from STOKHARDETBAG where DovizKur is null or DovizKur=0 or DovizKur=''
union
select top  10 Tutar , DovizTut,DovizKodu,DovizKur,* from Ent_OZDESRV.dbo.STOKHARDETBAG where DovizKur is null or DovizKur=0 or DovizKur=''
union
select top 10 Tutar , DovizTut,DovizKodu,DovizKur,* from Ent_SBSNET18.dbo.STOKHARDETBAG where DovizKur is null or DovizKur=0 or DovizKur=''


