Viewing 15 posts - 256 through 270 (of 429 total)
Andrew Diniz (2/19/2013)
Carlo Romagnano (2/19/2013)
UPDATE GenderUpdate
SET Gender = CASE WHEN GENDER = 'M' then 'F' ELSE 'M'...
February 19, 2013 at 6:50 am
Andre Ranieri (2/19/2013)
That's just my boolean mind at work.
Thanks for the question, and the nice use of...
February 19, 2013 at 6:47 am
Wow, interesting... and very odd.
I'd be curious to know the reason behind this restriction.
February 18, 2013 at 7:52 am
Unless I'm missing something, you would update it the same way you would if it were a physical table:
with SimpleUpdate as (Select Source, Sink, MovingAverage From TestNode)
UPDATE A
SET A.MovingAverage= B.MovingAverageResult
FROM...
February 14, 2013 at 8:17 am
Nice question! Glad to see one involving cross joins.
archie flockhart (2/12/2013)
The first two are wrong for the reasons stated in the answer.
The third...
February 12, 2013 at 6:14 am
(Bob Brown) (2/11/2013)
Sean Lange (2/11/2013)
Here is the original code with the GOs commented out so it will be a single batch.But the GOs are there.
Even if you ignore...
February 11, 2013 at 8:37 am
I got lucky in guessing that the intent of the question was to show that you can't use INTO with an existing table, and that the answer really meant statements...
February 11, 2013 at 7:32 am
Nice question!
Full text indexing isn't something I use... had to do a bit of research on this one.
Based on what I read, it looks like even if you had removed...
February 8, 2013 at 6:56 am
Good question!
I wondered about an ALTER VIEW statement being there as well since altering the view inherently refreshes it, but then recalled that *'s aren't allowed in schema-bound objects. ...
February 7, 2013 at 7:26 am
Good question, as this seems to be very confusing for people with a programming background that start working with SQL.
February 1, 2013 at 7:00 am
Nice question. I'm surprised more people haven't gotten it correct, as it wasn't too hard to verify.
January 30, 2013 at 6:46 am
Nice creative question.
I think that is the first time I've seen a bit column used as a primary key.
January 29, 2013 at 7:31 am
sipas (1/25/2013)
Which is why you don't make the decision based on that one sentence - therefore 'either' is the correct answer.
There is not enough information to know if either model...
January 25, 2013 at 7:08 am
Viewing 15 posts - 256 through 270 (of 429 total)