Generate inner select for all users with rep>200

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

Select 'Select ''' + Replace([Name],'','') + ''' As [DatabaseName], '
+ 'AccountId, DisplayName, CreationDate '
+ 'From [' + [Name] + ']..Users fu WHERE fu.Reputation>200'
+ ' UNION ALL '
From sys.Databases
Where Name Not Like '%.Meta' Or Name = 'StackExchange.Meta'

Enter Parameters

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