|
|
|
|
|
by throwaway894345
238 days ago
|
|
Yes, you can obviously run queries to get that information, but you can’t do it statically very easily. > I’ve written basic custom report writer functionality using this technique that lets users(usually me the developer or a super user) do custom sanitised SQL selects. I’m not sure how having the column metadata helps you sanitize SQL. |
|
Columns are added, removed, pivoted, summed etc by the user running the report. This can’t be static but the OP was mentioning how you can’t get column meta data easily.
By sanitised SQL I mean the query is fed to the MSSQL parser and only select & union all is allowed as far queries go(eg. no delete, drops, updates etc).