I guess I overstated this. SQL (at least MS) can parse XML, allowing you to dump it to a table. Also allows you to output XML. but, to select data, it still needs to be in a table. Reading what I wrote, it does sound like I was saying that you can query remote sources realtime. I didnt mean that, though, technically you can with temp tables.
For some reason I am having a hard time explaining what I mean in this case. I must be low on sugar or something.
The thing is nuts, using a stored procedure and the Amazon API I could implement that exact functionality and it would be relatively trivial.
select ASIN from amazon where keyword='car seat';
Very doable using UDF and the Amazon API. Likewise what VS said about if there is no scraped content for a keyword in the database then go out and scrape some.
When we are talking UDF then you are only limited by what you can do in a C (C++) program, which is pretty much only restricted by the imagination.
Now the performance of said system, well, it may leave a little to be desired ;-)
Cheers,
td