About 276,000 results
Open links in new tab
  1. How does the SQL injection from the "Bobby Tables" XKCD comic …

    Dec 2, 2008 · After the values from the first name, middle name textbox FNMName.Text (which is Robert'); DROP TABLE STUDENTS; --) and the last name textbox LName.Text (let's call it …

  2. sql - Drop a temporary table if it exists - Stack Overflow

    I have two lines of code in SQL that create two tables on the fly, i need to do something like IF TABLE EXISTS DROP IT AND CREATE IT AGAIN ELSE CREATE IT my lines are the …

  3. sql - DROP IF EXISTS VS DROP? - Stack Overflow

    Mar 5, 2012 · Can someone tell me if there is any difference between DROP IF EXISTS [TABLE_NAME] DROP [TABLE_NAME] I am asking this because I am using JDBC template …

  4. sql server - How to drop a table if it exists? - Stack Overflow

    From SQL Server 2016 you can use DROP TABLE IF EXISTS dbo.Scores Reference: DROP IF EXISTS - new thing in SQL Server 2016 It will be in SQL Azure Database soon.

  5. sql - How to Drop Table with Where clause / condition? - Stack …

    Mar 28, 2018 · I need to drop tables (multiple tables) from the database (Postgres) which has suffix 'alpha'. There are almost 500 tables present in the database which has different suffixes …

  6. How do I drop table variables in SQL-Server? Should I even do this?

    32 Table variables are just like int or varchar variables. You don't need to drop them. They have the same scope rules as int or varchar variables The scope of a variable is the range of …

  7. sql server - procedure to drop system-versioned temporal tables

    Apr 4, 2019 · I'm looking for a procedure to drop system-versioned temporal tables, ideally without using dynamic SQL. I've looked through the Microsoft documentation and figured out how to …

  8. How can I drop a table if there is a foreign key constraint in SQL ...

    You have to drop the constraint before drop your table. You can use those queries to find all FKs in your table and find the FKs in the tables in which your table is used.

  9. How to drop a list of SQL Server tables, ignoring constraints?

    It depends on how you want to drop the tables. If list of tables need to drop covers almost above 20 % of tables under your DB. Then I will disable all the constraints in that DB under my script …

  10. What is the difference between drop table and delete table in SQL ...

    In the delete object GUI, on top there is a 'script' option which gives the t-sql statement which is plain drop table statement. Where as when you go for the drop table option, the t-sql …