List of Users in a given any case location

0

Please login or register to vote for this query.

(click on this box to dismiss)

This query lists all users in a given any case location. Sorted by reputation or location.

Gardening and Landscaping Meta

Q&A about the site for gardeners and landscapers

-- List of Users in a given location
-- This query lists all users in a given location.

-- Declare @location varchar = ##location##
select  Id as [User Link], location, reputation

from users

where upper(location) like upper('%##location##%')

order by reputation desc
--order by location asc

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results