Search
 
SCRIPT & CODE EXAMPLE
 

SQL

MySQL FUNCTION

-- Hello world in MySQL FUNCTION

DELIMITER $$
CREATE FUNCTION hello_world() RETURNS TEXT COMMENT 'Hello World'
BEGIN
  RETURN 'Hello World';
END;
$$
DELIMITER ;
 
SELECT hello_world();
Comment

PREVIOUS NEXT
Code Example
Sql :: duplicate key value violates unique constraint in postgresql 
Sql :: sql delete column 
Sql :: call postgres function 
Sql :: postgresql check total storage 
Sql :: sql find second highest salary employee 
Sql :: min max sql 
Sql :: sql datitime to date 
Sql :: alter table add foreign key mariadb example 
Sql :: how to write lowercase in sql 
Sql :: sql count how many times a value appears 
Sql :: oracle change tablespace size 
Sql :: all tables and views oracle 
Sql :: sql column to row 
Sql :: mysql add columns 
Sql :: sql create table with data 
Sql :: insert into without column names 
Sql :: oracle last modification in table 
Sql :: Write an SQL query to print details of the Workers whose SALARY lies between 100000 and 500000. 
Sql :: select database in mysql 
Sql :: postgres windows import dump 
Sql :: postgresql concat string with separator 
Sql :: add week ending date sql server 
Sql :: sqlite commands 
Sql :: from . import _mysql ImportError: libmariadb.so.3: cannot open shared object file: No such file or directory linux 
Sql :: sql update record 
Sql :: mysql updating multiple column values from array variable 
Sql :: sql alter column 
Sql :: sql sum of same record 
Sql :: how to open mysql in docker 
Sql :: import database mysql command line 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =