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 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

SQL DROP TABLE Statement

DROP TABLE my_table;
Comment

PREVIOUS NEXT
Code Example
Sql :: replace text in sql 
Sql :: sqlite insert or update 
Sql :: SQL check if record exist 
Sql :: charindex 
Sql :: ms sql database data size 
Sql :: t_sql contains 
Sql :: sql server pivot rows to columns 
Sql :: sql datitime to date 
Sql :: sql left 
Sql :: mysql show create table 
Sql :: postgres role does not exist 
Sql :: function in postgresql 
Sql :: How to insert Arabic characters into SQL database 
Sql :: what is having clause in sql 
Sql :: mysql time 
Sql :: sql server change column data type 
Sql :: SQL Subquery and JOIN 
Sql :: mysql find duplicate rows multiple columns 
Sql :: warning: mysqli::__construct(): (hy000/2002): 
Sql :: select into 
Sql :: docker add mysql to image 
Sql :: create function postgresql 
Sql :: mysql GROUP BY clause; this is incompatible with sql_mode=only_full_group_by 
Sql :: increment id in mysql 
Sql :: tsql pad left 
Sql :: oracle pl/sql package 
Sql :: sql where not like in list 
Sql :: finish transaction sql 
Sql :: mysql default uuid 
Sql :: mysql mediumtext 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =