(ZippeeJJ this might be the GQ for you )
I am fed up of being the only person at work direct access to our data, and therefore the go-to guy for all querys for which there isn’t already an asp report extant for it.
Therefore I aim to create an ASP page with one single input box (an sql query string) which does the obvious (outputs the results in a table)
I will then pester everyone to learn SQL!
It should be fairly safe (no edits, updates, stupidly intensive queries, or ability to crash/create havoc on the server)
Does anyone have any advice for this? Particularly the problem of creating a table when the number of fields (and name of fields) is unknown beforehand.
A pointer to the right sql commands would do… for instance a function or method of a recordset that returns number of fields, or some way of refering to the fields by number