Search
 
SCRIPT & CODE EXAMPLE
 

SQL

mysql function variable

CREATE PROCEDURE p(increment INT)
BEGIN
  DECLARE counter INT DEFAULT 0;
  WHILE counter < 10 DO
    -- ... do work ...
    SET counter = counter + increment;
  END WHILE;
END;
Comment

PREVIOUS NEXT
Code Example
Sql :: tinydb add table 
Sql :: sql quote in string 
Sql :: mysql create table from select statement 
Sql :: oracle dependencies table 
Sql :: drop schema sql 
Sql :: createdb with postgresql on ubuntu 
Sql :: drush run sql select 
Sql :: sql integer to serial 
Sql :: remove all data from table mysql 
Sql :: sum value by month sql 
Sql :: mysql dump with table query 
Sql :: mysql case 
Sql :: alter table add foreign key mariadb example 
Sql :: to_char sql 
Sql :: mysql random 
Sql :: sqlite show columns 
Sql :: databricks install odbc driver connect to sql server 
Sql :: sql run multiple updates in one query 
Sql :: mysql community server 
Sql :: get triggers by query 
Sql :: mysql select latest entry by time 
Sql :: uninstall mysql ubuntu 18.04 stackoverflow 
Sql :: oracle create tablespace autoextend 
Sql :: mysql select or insert current datetime 
Sql :: sql latlng 
Sql :: sql inner join 
Sql :: how to import mysql database command line 
Sql :: sum sqlserver 
Sql :: on sql table data exists 
Sql :: postgresql where and 
ADD CONTENT
Topic
Content
Source link
Name
3+5 =