About 54 results
Open links in new tab
  1. How to declare Array variable in SQL Server? - Stack Overflow

    Jan 16, 2017 · How to declare Array variable in SQL Server? Asked 9 years ago Modified 1 year, 8 months ago Viewed 81k times

  2. SQL variable to hold list of integers - Stack Overflow

    I'm trying to debug someone else's SQL reports and have placed the underlying reports query into a query windows of SQL 2012. One of the parameters the report asks for is a list of integers. This...

  3. How to declare an array inside MS SQL Server Stored Procedure?

    Oct 15, 2018 · I need to declare 12 decimal variables, corresponding to each month's year, with a cursor I sum values to this variables, then later I Update some sales information. I don't know if sql server …

  4. Creating a variable array in sql - Stack Overflow

    May 2, 2018 · Creating a variable array in sql Asked 7 years, 9 months ago Modified 7 years, 9 months ago Viewed 16k times

  5. sql - Set variable value to array of strings - Stack Overflow

    A quick way to turn your varchar variable to a table (array of values) is to have your FirstName variable as a whole varchar first and then use the STRING_SPLIT method.

  6. Oracle PL/SQL - How to create a simple array variable?

    I'd like to create an in-memory array variable that can be used in my PL/SQL code. I can't find any collections in Oracle PL/SQL that uses pure memory, they all seem to be associated with tables. ...

  7. How can I simulate an array variable in MySQL? - Stack Overflow

    Aug 29, 2012 · So a workaround is needed whereby an array of values is passed to the IN selector using variable. However, as variables need to be single values, I would need to simulate an array. …

  8. Snowflake SQL - How can I query with an array variable for an IN clause

    Mar 25, 2021 · The reported error: SQL compilation error: Number of variables on left-hand side of assignment (1) is not equal to the number of values on right-hand side (3) So how can I create an …

  9. How to define an array variable in Snowflake - Stack Overflow

    May 19, 2021 · How to define an array variable in snowflake worksheet? set columns = (SELECT array_agg(COLUMN_NAME) FROM INFORMATION_SCHEMA.COLUMNS where …

  10. T-SQL: Looping through an array of known values

    T-SQL: Looping through an array of known values Asked 16 years, 3 months ago Modified 1 year, 11 months ago Viewed 257k times