About 50 results
Open links in new tab
  1. aggregate functions - Can we use SQL Server STRING_AGG () in queries ...

    Mar 29, 2023 · Aggregate functions that are used with CUBE, ROLLUP, or GROUPING SET queries must provide for the merging of subaggregates. To fix this problem, remove the aggregate function …

  2. sql - How do I split a delimited string so I can access individual ...

    Nov 2, 2015 · Using SQL Server, how do I split a string so I can access item x? Take a string "Hello John Smith". How can I split the string by space and access the item at index 1 which should return …

  3. How do I search an SQL Server database for a string?

    Dec 8, 2019 · I need to search an SQL Server database for all mentions of a specific string. For example, I would like to search all tables, views, functions, stored procedures, ... for string …

  4. Oracle PL SQL STRING Functions - Stack Overflow

    Jun 19, 2020 · Below SQL uses Oracle built-in functions INSTR and SUBSTR and assumes that the "code" is always the last part of the string and is always preceded by a single, underscore character, …

  5. How to get first character of a string in SQL? - Stack Overflow

    Apr 27, 2009 · I have a SQL column with a length of 6. Now want to take only the first char of that column. Is there any string function in SQL to do this?

  6. Databricks SQL string_agg - Stack Overflow

    Nov 18, 2021 · Hopefully a quick one; Migrating some on-premise SQL views to Databricks and struggling to find conversions for some functions. The main one is the string_agg function. …

  7. Azure Functions Database Connection String - Stack Overflow

    May 13, 2016 · How do I add or access an app.config file in Azure functions to add a database connection string? If you're not supposed to add an app.config and there is a better way to access an …

  8. Difference between scalar, table-valued, and aggregate functions in …

    Jul 14, 2016 · What is the difference between scalar-valued, table-valued, and aggregate functions in SQL server? And does calling them from a query need a different method, or do we call them in the …

  9. sql - How to write dynamic queries in snowflake user defined functions ...

    How to write dynamic queries in snowflake user defined functions Asked 5 years, 7 months ago Modified 2 years, 4 months ago Viewed 13k times

  10. Get everything after and before certain character in SQL Server

    Jun 13, 2012 · I got the following entry in my database: images/test.jpg I want to trim the entry so I get: test So basically, I want everything after / and before . How can I solve it?