Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Tuesday, June 27, 2017

If statement in T-SQL

SQLServerCentral » Latest topics
If statement in T-SQL
Hi guys,

I am trying to display item_name with a new category, which says the following term ( i have pasted my whole query) :

declare @item varchar(50) 
Select @item = item_name from order_items
If @item = 'charger' or @ite

No comments: