testing - Howto test SQL statements and ensure their quality? -


I am currently working on some business intelligence reports. The data is brought by the usual SQL selection statements. The statements are getting more and more complex.

The data I want to report is partially business important so I can feel better, if I say the SQL statement I can do something for the proof of purity and quality.

I know that there are some ways for this application-code but what can I do to reach these goals at the SQL level?

Thanks in advance.

I do not know of any SQL-level proof of QAC, because you can not query the synthetic accuracy Are looking for the meaning (semantic).

I will write a small test that tends to take SQL statement and runs it on a known test database, then compare with the XPCTD set of reference data (spreadsheet, simple csv file etc.) of the result Please.

For a bonus issue, wrap it in a unit test and make it part of your continuous manufacturing process.

If you use a spreadsheet or CSV for reference data, it is possible that SQL (i.e. test-based development) with professional users.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -