About 9,720,000 results
Open links in new tab
  1. t sql - How to check if a column is empty or null using SQL query ...

    How do I check if a column is empty or null using a SQL select statement? For instance, if I want to check: select * from UserProfile WHERE PropertydefinitionID in (40, 53) and PropertyValue …

  2. How can I add blank columns to the results of a SQL query?

    Oct 20, 2020 · Something along the lines of " select [nothing] as StaffFName "? Just add literal nulls to the select clause: PersonID, PersonFName, PersonLName, PersonDOB, VisitID, null …

  3. Adding a new empty column to sql select query - Stack Overflow

    Oct 31, 2013 · i have the following sql select query. select column1,column2 from mytable is a way to add an empty column to the query that doesnt exist in the table such as. select …

  4. SQL : Creating a blank column in the SELECT - Microsoft Q&A

    Mar 13, 2023 · SELECT * , cast(NULL as varchar(10)) AS PROCESSING_FLAG -- specify desired column's type INTO #CA_CONTRACTLINES_FLAGPROCESSING_STG FROM …

  5. sql server - Test if any columns are NULL - Database …

    I'm trying to figure out an easy query I can do to test if a large table has a list of entries that has at least ONE blank (NULL / empty) value in ANY column. I need something like SELECT * …

  6. How to Check a Column is Empty or Null in SQL Server

    Jan 31, 2024 · In this article let us discuss in detail, how to check if a column is Empty or NULL in SQL Server, with examples and different methods. Checking if a Column is Empty or NULL. In …

  7. Efficiently Creating Empty Columns In Sql: A Step-By-Step Guide

    In this article, we will delve into the concept of creating an empty column in SQL, along with various ways to modify it, set constraints, and drop it when necessary. An empty column refers …

  8. How to get all columns with empty value in table

    Jan 22, 2009 · here's a cursor based solution that finds all char/varchar columns for a given table, then queries each for empty /nulls, aqnd provides the results, along with the query to find the …

  9. Working with Empty Values - SQL Server | Microsoft Learn

    Jan 27, 2025 · If you do not want empty cell values appearing in your query results, you should create queries, calculated members, or MDX Script statements that eliminate the empty values …

  10. sql server - Quickest way to NULL or wipe a column - Database ...

    May 9, 2017 · We can see the column_id using this query against sys.columns: SELECT name, column_id FROM sys.columns WHERE object_id = OBJECT_ID('SEE_COLUMN_ORDER'); …

  11. Some results have been removed
Refresh