Search
 
SCRIPT & CODE EXAMPLE
 

SQL

how to drop function in sql

DROP FUNCTION IF EXISTS sales.udf_get_discount_amount;
Comment

drop function in sql

/*-----------Delete Funcition---------*/
DROP FUNCTION sales.udf_get_discount_amount;
Comment

delete rows from table sql

TRUNCATE table my_table;
Comment

sql delete where in

-- Deletes all records where `columnName` matches the values in brackets.
DELETE FROM tableName WHERE columnName IN ('val1', 'val2', 'val3');
Comment

delete from table sql

DELETE FROM `table` WHERE condition
Comment

delete and drop in sql

DELETE -
-DML COMMAND
-Delete Rows from the table one by one
-We can use where clause with Delete to delete single row
-Delete is slower than truncate
-ROLLBACK is possible with DELETE

DROP-
-DDL COMMAND
-Delete the entire structure or schema
-We can't use where clause with drop
-Drop is slower than DELETE & TRUNCATE
-ROLLBACK IS NOT POSSIBLE WITH DROP

TRUNCATE-
-DDL COMMAND
-Truncate deletes rows at a one goal
-We can't use where clause with Truncate
-Truncate faster than both DELETE & DROP
-Rollback is not possible with Truncate
Comment

delete in sql

select * from 
Comment

delete in sql

create trigger 
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql grouping functions 
Sql :: mysql bind-address default value 
Sql :: mysql get 2nd value in comma separated list 
Sql :: update field in sql to null 
Sql :: case vhdl 
Sql :: how to replace null values in sql 
Sql :: sql server obtener nombre sin espacios en blanco 
Sql :: remove decimal in sql server 
Sql :: tsql generate rows 
Sql :: selecting specific day in colum sql 
Sql :: difference in dates sql 
Sql :: alter check constraint in mysql 
Sql :: delete row mysql 
Sql :: sql check constraint 
Sql :: postgres insert timestamp without timezone 
Sql :: postgresql inheritance 
Sql :: sql merge statement 
Sql :: oracle add attribute to table 
Sql :: copy data from one database to another 
Sql :: mysql select field if condition 
Sql :: show broken table mysql 
Sql :: mysql regex select 
Sql :: windows could not start the sql server on local computer 
Sql :: mysqldump cli command 
Sql :: sql xor 
Sql :: fatal error uncaught mysqli_sql_exception 
Sql :: select in select sql 
Sql :: mysql dump database tables only 
Sql :: union sql 
Sql :: table user postgres 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =