We've got enough in "everything", at least, to want to search for specific queries.
E.g. I know I had some 'queries' that just PRINTed stuff, with no result sets, that would have been useful to test given your comment here. (Of course it would have been faster to type in new
It would to be useful to have
I understand most queries for many SQL keywords would produce lots of results, but if the search results were displayed in a manner very similar to the current browse lists they would still be manageable and useful, especially if the results could be ordered by date as well as some of the other orderings already available for browsing.
If I could think of a good syntax to mean any order^, I'd suggest the default search means in the order given.
I.e. searching for
select from where could be implemented as
like '%select%from%where%' (except it should probably consider word boundaries).
) could be used to signify any order, so
( world hello ) will match
PRINT 'Hello, world'