Skip to content

Instantly share code, notes, and snippets.

@VeryFatBoy
VeryFatBoy / sproc-delimiter.sql
Created October 12, 2021 16:29 — forked from robrich/sproc-delimiter.sql
SingleStore Stored Procedures
CREATE DATABASE IF NOT EXISTS acme;
USE acme;
CREATE TABLE IF NOT EXISTS messages (
id BIGINT AUTO_INCREMENT PRIMARY KEY,
content varchar(300) NOT NULL,
createdate TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP
);
@VeryFatBoy
VeryFatBoy / singlestore-to-s3.sql
Created October 12, 2021 16:29 — forked from robrich/singlestore-to-s3.sql
SingleStore to AWS S3
CREATE DATABASE IF NOT EXISTS acme;
USE acme;
CREATE TABLE IF NOT EXISTS messages (
id BIGINT AUTO_INCREMENT PRIMARY KEY,
content varchar(300) NOT NULL,
createdate TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP
);
@VeryFatBoy
VeryFatBoy / singlestore-to-gcs.sql
Created October 12, 2021 16:28 — forked from robrich/singlestore-to-gcs.sql
SingleStore to Google Cloud Storage
CREATE DATABASE IF NOT EXISTS acme;
USE acme;
CREATE TABLE IF NOT EXISTS messages (
id BIGINT AUTO_INCREMENT PRIMARY KEY,
content varchar(300) NOT NULL,
createdate TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP
);