SQL Query


 


Declare @showData int;

Declare @ustadKu int;

select @ustadKu = 462;

select @showData = 700;



Select  top (@showData) CreateDate as [Date],TrafficSource as Marketing_Partner,

(case when Campaign = null or Campaign ='' then 'Organic'  else Campaign end) as Campaign_Name,LandingPage 

from [dbo].[ActionTracking]

where PortalId = (@ustadKu) and CAST(CreateDate as Date) = '2021-12-29'

SQL Query SQL Query Reviewed by Leo on April 12, 2022 Rating: 5

Tidak ada komentar

About me

About Me

My name is Joanne Doe, a lifestyle photographer and blogger currently living in Osaka, Japan. I write my thoughts and travel stories inside this blog.