Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql get domain from url

SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(target_url, '/', 3), '://', -1), '/', 1), '?', 1) AS domain
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #domain #url
ADD COMMENT
Topic
Name
4+6 =