Inserting strings into an SQL table depending on what results a query returns
问题 I have a handful of queries that I'm using to test whether or not database results from tests that I run don't have anything obviously broken and buggy in them. One of the queries has this basic form: SELECT * FROM Table WHERE Column = '' Its checking to make sure that one particular field is not blank. I want to keep track of these tests being run and when they pass or fail. Is there a way that I can write a query so that if that query brings back any results then it writes a string to