tencent cloud

Feedback

TDSQL PostgreSQL

Last updated: 2024-11-01 16:26:14
    Note:
    This project needs to bind the data source of TDSQL for PostgreSQL.

    Sample code

    -- Create schema
    create schema if not exists wedata_demo_schema ;
    
    -- Create a table
    CREATE TABLE wedata_demo_schema.user_info (
    id SERIAL PRIMARY KEY,
    name VARCHAR(255) NOT NULL
    );
    
    -- View tables in the corresponding schema
    SELECT table_name
    FROM information_schema.tables
    WHERE table_schema = 'wedata_demo_schema';
    
    -- Insert data
    INSERT INTO wedata_demo_schema.user_info (name) VALUES ('Alice'), ('Bob');
    
    -- View data
    select * from wedata_demo_schema.user_info;
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support