<html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> </head> <body> <button id="Add">Click to add textbox</button> <button id="Remove">Click to remove textbox</button> <div id="textboxDiv"></div> <script> $(document).ready(function() { $("#Add").on("click", function() { $("#textboxDiv").append("<div><br><input type='text'/><br></div>"); }); $("#Remove").on("click", function() { $("#textboxDiv").children().last().remove(); }); }); </script> </body> </html>
Here, I will explain you how you can see logs of users. Step 1 : First, create a new database with name "test". Step 2 : Create a new table. Step 3 : Now, go and drop the table by running the following command. Step 4 : Now, select your database under Object Explorer and go to Reports >> Standard Reports >> Schema Changes History. Step 5 : You will then see the schema change history. The report will show you who has dropped this table. Finally, you can locate the user activity with the help of log.
Comments
Post a Comment