CAUTION: This SQL will DELETE all rows in your table

I came across this gem the other day. Fortunately, I ran it locally first. There are two tables. Person and AlienPerson. Lets create the tables and seed with some data.

Try to run a bad select statement:

Here’s the baddie. This will delete all data in the Person table:

To get… Continue reading CAUTION: This SQL will DELETE all rows in your table

Published
Categorized as SQL