Search
 
SCRIPT & CODE EXAMPLE
 

SQL

drop stored procedure mysql

DROP PROCEDURE [IF EXISTS] stored_procedure_name;
Comment

stored procedure to delete data from table in mysql

mysql> DELIMITER // ;
mysql> Create Procedure Delete_studentinfo ( IN p_id INT)
    -> BEGIN
    -> DELETE FROM student_info
    -> WHERE ID=p_id;
    -> END //
Query OK, 0 rows affected (0.11 sec)

mysql> DELIMITER ; //
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql if condition 
Sql :: sqlite3 import csv 
Sql :: mysqldump with where clause 
Sql :: mysql get first n characters of string 
Sql :: sqlite unique 
Sql :: sql extract from mail 
Sql :: list all tables in postgres 
Sql :: between from sql 
Sql :: sql inner join with where clause 
Sql :: oracle table free space 
Sql :: alter table myisam to innodb 
Sql :: postgres user permissions 
Sql :: add time to date sql 
Sql :: get number of columns sql 
Sql :: check database sessions oracle 
Sql :: bigquery add days to date 
Sql :: postgresql import data from csv 
Sql :: get the location of where postgres database is stored 
Sql :: object dependencies in oracle 
Sql :: datediff in sql 
Sql :: replace text in sql 
Sql :: t_sql contains 
Sql :: using minus query in SQL 
Sql :: mysql auto increment column 
Sql :: How to insert Arabic characters into SQL database 
Sql :: SQL column name Oracle 
Sql :: python mysql create table if not exists 
Sql :: mysql find duplicate rows multiple columns 
Sql :: How to get last inserted primary key in SQL Server 
Sql :: sql top 3 for each group 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =