Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

how to search values in SQL server column

$
0
0

Dear all,

  I am having a column A and B in my table. I want to ensure that any value in column A should not appear in column B and vice versa.

  A        B

100     400

200    100

300      500

should not be allowed 

but

A        B

100     400

200    600

300      500

should be allowed

Thanks in advance 

iqbal

  


itismeiqbal


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>