About 13,900 results
Open links in new tab
  1. How can I format an output table in SQL Server? - Stack Overflow

    Jan 30, 2018 · This already returns data for all profiles. You just add PROFILEID to the SELECT to see the profile in the results. Or add to the WHERE clause to filter for a specific profile.

  2. How to display table data more clearly in oracle sqlplus

    I want to be able to display the resulting data from a select in a pretty way, not all columns under others. Here is the way sqlplus displays my table data: But I want to show them as: Name |

  3. FORMAT (Transact-SQL) - SQL Server | Microsoft Learn

    Apr 18, 2025 · Returns a value formatted with the specified format and optional culture. Use the FORMAT function for locale-aware formatting of date/time and number values as strings. For …

  4. SQL server stored procedure return a table - Stack Overflow

    You can't technically return "a table", but you can return a result set and using INSERT INTO .. EXEC ... syntax, you can clearly call a PROC and store the results into a table type. In the …

  5. Format Query Results as JSON with fOR JSON - SQL Server

    Mar 12, 2025 · Format query results as JSON, or export data from SQL Server as JSON, by adding the FOR JSON clause to a SELECT statement. Use the FOR JSON clause to simplify …

  6. A comprehensive guide to the SQL Format function - SQL Shack

    Mar 11, 2020 · We use this new function to get output in a specified format and Culture. It returns an NVARCHAR data type in the output. FORMAT (value, format [, culture]) It has the following …

  7. sql server - How do I format the output from OBJECT_DEFINITION

    Nov 20, 2017 · Since you're using SQL Server 2016, you can use STRING_SPLIT and a trick from Aaron Bertrand to split on carriage-return/line-feed.

  8. OUTPUT clause (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 22, 2024 · The OUTPUT clause returns columns from the table being deleted (DELETED.ProductID, DELETED.ProductPhotoID) and columns from the Product table. This …

  9. Different Options for Query Results in SQL Server Management …

    Mar 28, 2011 · SQL Server Management Studio currently supports query execution results to be displayed in three different ways: Results to Grid, Results to Text and Results to File. By …

  10. Formatting Query Results - Oracle

    Through the SQL*Plus COLUMN command, you can change the column headings and reformat the column data in your query results. When displaying column headings, you can either use …

Refresh