Wednesday, 18 September 2013

Pull a SQL field with or without a space

Pull a SQL field with or without a space

I would like to run the following queries as one query. My goal is to pull
all rows where the Store field = Best Buy or BestBuy, not pulling the same
row twice. Is there a way to do this one swoop?
Insert Into dbo.X WHERE Store = 'Best Buy';
Insert Into dbo.X WHERE Store = 'BestBuy';

No comments:

Post a Comment