VS Code: Creating a SQLite Database from a SQL Script

Pubblicato il: 29 novembre 2024
sul canale di: Thomas Blum
461
1

In this video we demonstrate using VS Code (with two SQLite extensions installed) to execute two SQL scripts. The first script creates two tables and inserts some records into each table. Creating a table is part of the Data Definition Language (DDL), while inserting rows is part of the Data Manipulation Language (DML). We also point out that the metadata (table and column names) may appear in tick marks, whereas the actual data may appear in single or double quotes. If the script is highlighted in VS Code, it is invoked by going to View/Command Palette/SQLite: Run Query (even though strictly speaking it's not a query). In the first script each record/row of data was inserted using a single SQL statement. In a second script we show the syntax for a "multi-insert" -- a single SQL statement that inserts more than one record.


In questa pagina del sito puoi guardare il video online VS Code: Creating a SQLite Database from a SQL Script della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Thomas Blum 29 novembre 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 461 volte e gli è piaciuto 1 spettatori. Buona visione!