About 1,180,000 results
Open links in new tab
  1. sql - 'insert into' with array - Stack Overflow

    I'm wondering if there's a way to use 'insert into' on a list of values. I'm trying to do this: values('value1', value2, 'value3') So, what I'm trying to say is that value2 will be an array of …

  2. SQL Array: Using, creating, and inserting arrays in SQL.

    Apr 8, 2025 · Here, we cover an introduction to SQL array and give examples to make it easier for you to understand how to create, insert, and use arrays in SQL.

  3. Insert Array of values into columns of the table in SQL Server

    I have an array (1,2,3,4;5,6,7,8;9,10,11,12;13,14,15,16;) I want to insert this array of values into the table like Column1 | Column2 | Column3 | Column4 -----...

  4. postgresql - Inserting array values - Stack Overflow

    Oct 26, 2015 · You should use a column name without an index to insert an array: create table example(arr smallint[]); insert into example(arr) values('{1, 2, 3}'); -- alternative syntax -- insert …

  5. Complete Guide to Array operations in SQL with Examples

    Feb 27, 2023 · We can insert array elements in an array by mentioning them within curly braces {} with each element separated by commas. Here is an example to illustrate the method for …

  6. SQL INSERT INTO Statement - W3Schools

    It is possible to write the INSERT INTO statement in two ways: 1. Specify both the column names and the values to be inserted: INSERT INTO table_name (column1, column2, column3, ...) …

  7. Inserting Data into an ARRAY in SQL - A Complete Tutorial

    Master the technique of inserting data into an SQL ARRAY efficiently. Understand the role of the ARRAY constructor in this vital operation.

  8. SQL 'ARRAY' Data Type: A Comprehensive Tutorial - Reintech

    Sep 30, 2023 · Inserting Data into an ARRAY. To insert data into an ARRAY, you need to use the ARRAY constructor, as shown in the example below: INSERT INTO my_table (numbers) …

  9. How to Use Array Functionality in SQL Server - {coding}Sight

    Apr 26, 2021 · DECLARE @Values NVARCHAR(MAX) =N'Value 1,Value 2,Value 3,Value 4,Value 5'; SELECT Item AS NumSplit FROM dbo.Split_Numbers (@Values, N','); SELECT …

  10. How to insert multiple rows into SQL using an Array?

    Sep 18, 2019 · SQL doesn't understand arrays, but you can list multiple insert values like below. INSERT INTO [dbo].[BudgetAndAuthorizationChangeReasons] ([ChangeReason] ,[IsActive] …

  11. Some results have been removed
Refresh