About 303,000 results
Open links in new tab
  1. CREATE TABLE - Snowflake Documentation

    Creates a new table in the current/specified schema, replaces an existing table, or alters an existing table. A table can have multiple columns, with each column definition consisting of a name, data type, and optionally whether the column: …

  2. Snowflake CREATE TABLE: How to Create Tables - Y42 Docs

    Learn how to create tables in Snowflake with the CREATE TABLE command. Includes syntax and examples for defining tables efficiently.

  3. Snowflake – CREATE TABLE as SELECT - Spark By Examples

    Mar 27, 2024 · Snowflake SnowSQL provides CREATE TABLE as SELECT (also referred to as CTAS) statement to create a new table by copy or duplicate the existing table or based on the result of the SELECT query. If the table already existing, you can replace it by providing the REPLACE clause.

  4. CREATE OR ALTER <object> | Snowflake Documentation

    CREATE OR ALTER commands are DDL commands that combine the functionality of the CREATE command and the ALTER command, enabling you to define an object using the syntax supported by the CREATE <object> command with the limitations of …

  5. Creating Tables in Snowflake: Types, Examples & Best Practices

    Feb 20, 2025 · Use the CREATE TABLE command with your desired schema. For example: "CREATE TABLE customers (customer_id INTEGER PRIMARY KEY, first_name VARCHAR(50), last_name VARCHAR(50))". Include appropriate data types and constraints.

  6. CREATE <object> | Snowflake Documentation

    Creates a new object of the specified type. For specific syntax, usage notes, and examples, see: Account Objects: CREATE DATABASE , CREATE DATABASE … CLONE. Database Objects: CREATE FILE FORMAT , CREATE FILE FORMAT … CLONE. CREATE SCHEMA , CREATE SCHEMA … CLONE. CREATE SEQUENCE , CREATE SEQUENCE … CLONE. CREATE STAGE , CREATE STAGE … CLONE.

  7. How to Create a Table in Snowflake: A Step-by-Step Guide

    Jan 16, 2025 · Creating a table in Snowflake involves several initial steps that ensure your data management is set up correctly. First, you need to access your Snowflake account through the web interface or a compatible SQL client. This step is crucial as it initiates a session for executing SQL commands.

  8. Snowflake SQL School: Creating & Loading Tables

    In this guide, you will be walked through how to create a table in Snowflake, as well as how to load data into that table, utilising Snowflakes built in features that will allow you to get up and running quickly.

  9. How to Create a Table in Snowflake - PopSQL

    Setting up tables in Snowflake? Use the CREATE TABLE command to define your table structure. Specify column names, data types, constraints, and even default values. Need temporary or transient tables for session-specific tasks or temporary storage? Snowflake has you covered.

  10. sql - Create table in snowflake - Syntax - Stack Overflow

    Feb 28, 2022 · I am trying to create a table and insert rows into it. But it keeps giving me this syntax error. ERROR : SQL compilation error: syntax error line 3 at position 1 unexpected 'EventName'. syntax. Any help would be appreciated. EventTypeID int. EventName, EventDescription, EventCategoryName, SystemName, …

  11. Some results have been removed
Refresh