Skip to content

Instantly share code, notes, and snippets.

@robrich
Created August 18, 2020 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save robrich/6c27be42a06542030e61ffe9d754ac63 to your computer and use it in GitHub Desktop.
Save robrich/6c27be42a06542030e61ffe9d754ac63 to your computer and use it in GitHub Desktop.
Get started with MemSQL on Windows
CREATE DATABASE IF NOT EXISTS hellomemsql;
USE hellomemsql;
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
);
INSERT INTO messages (
content
) VALUES (
'MemSQL running on Windows'
);
SELECT * FROM messages;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment