Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
0Activity
0 of .
Results for:
No results containing your search query
P. 1
Delimiter Query

Delimiter Query

Ratings: (0)|Views: 1 |Likes:
Published by waibhav

More info:

Published by: waibhav on Oct 25, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

12/04/2012

pdf

text

original

 
select top 10 SUBSTRING([Tactic And State],1,CHARINDEX('|',[Tactic And State],1)-1) 'Tactic',RIGHT([Tactic And State],LEN([Tactic And State])-CHARINDEX('|',[Tactic And State],1)),* from [Bing_Desktop]select SUBSTRING([Tactic And State],1,CHARINDEX('|',[Tactic And State],1)-1) into [Tactic],RIGHT([Tactic And State],LEN([Tactic And State])-CHARINDEX('|',[Tactic And State],1)) into [State],SUBSTRING([Region City And Source],1,CHARINDEX('|',[Region City And Source],1)-1) into [Region City],RIGHT([Region City And Source],LEN([Region City And Source])-CHARINDEX('|',[Region City And Source],1)) into [Source] from [Bing_Desktop]update [Bing_Desktop1]set [Region City]=SUBSTRING([Region City And Source],1,CHARINDEX('|',[Region City And Source],1)-1)update [Bing_Desktop1]set [Source]=RIGHT([Region City And Source],LEN([Region City And Source])-CHARINDEX('|',[Region City And Source],1))update [Bing_Desktop1]set [State]=RIGHT([Tactic And State],LEN([Tactic And State])-CHARINDEX('|',[Tactic And State],1))update [Bing_Desktop1]set [Tactic]=SUBSTRING([Tactic And State],1,CHARINDEX('|',[Tactic And State],1)-1)select distinct [Region City] from [Bing_Desktop1] order by [Region City]select distinct [Region City] from [Bing_Desktop1] order by [Region City]update Darden_Digital_Search_Bing_Contentset Code = b.Code + '_' + a.[Region City]from Darden_StateToStateCode b, Darden_Digital_Search_Bing_Content awhere LTRIM(rtrim(a.[State])) = LTRIM(rtrim(b.[State]))

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->