Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

How can i define a boolean variable with the condition if i got a specific text on a selected column?

$
0
0

How can i define a boolean variable with the condition if i got a specific text on a selected column?

Example:

my select results:

[id = 102] [Company = 'Microsoft']

If i got microsoft in 'Company' i want to my another table with the columnName "Microsoft" get "true".

Can you help me?


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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