Search
 
SCRIPT & CODE EXAMPLE
 

TYPESCRIPT

how to find muti column name exists in sql server

IF EXISTS 
    (
      SELECT *
      FROM INFORMATION_SCHEMA.COLUMNS
      WHERE TABLE_NAME = 'Table Name'
      AND(COLUMN_NAME = 'column 1'
      or COLUMN_NAME = 'column 2'
      or COLUMN_NAME = 'column 3'
      or COLUMN_NAME = 'column 4')
    )
    SELECT 'Column exists in table' AS[Status];
    ELSE
    SELECT 'Column does not exist in table' AS[Status];
Comment

PREVIOUS NEXT
Code Example
Typescript :: how to display dotted line betweens 2 series point in high charts react native 
Typescript :: omgsmhwthwhyomgnvm 
Typescript :: how to make a tool detect a click and add points roblox studio 
Typescript :: convert angle to 0-360 godot 
Typescript :: multer s3 access denied 
Typescript :: Fechas - Solución resta un día en dato 
Typescript :: java a program that converts letters to their corrosponding telephone digits 
Typescript :: config all requests to one page nginx 
Typescript :: jquery to typescript converter online 
Typescript :: git remove two commits but not the code 
Typescript :: google sheets app script get last cell has value with empty cells 
Typescript :: Exclude value from array typescript type 
Typescript :: The create-react-app imports restriction outside of src directory 
Typescript :: dart get memory location of variable 
Typescript :: typescript Empty Types 
Typescript :: struts 2 rest api example 
Typescript :: laravel Adding shipping rate to checkout session results in "invalid array" exception 
Typescript :: Give an O (n lg k)-time algorithm to merge k sorted lists into one sorted list 
Typescript :: w to check whether an image is a broken image or not in typescript angular 
Typescript :: PYTHON STACK FUNCTION count the valid number of brackets Returns the total number of valid brackets in the string 
Typescript :: breaks_width in r 
Typescript :: typescript interface define a map key value pairs 
Typescript :: real time charts in flutter 
Typescript :: how to make the inputs become a sum python 
Typescript :: The dialect mongodb+srv is not supported. Supported dialects feathers 
Cpp :: sfml local mouse position 
Cpp :: number of cores c++ 
Cpp :: string to vector c++ 
Cpp :: split vector in half cpp 
Cpp :: hello world c++ visual studio 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =