Viewing 15 posts - 526 through 540 (of 790 total)
I actually liked this question. Not only was it a reminder to test things that BOL is ambiguous or unclear about, but it was a prompt to me to...
Cheers,
- Mark
August 4, 2003 at 10:22 pm
I think you're out of luck trying to INSERT to multiple tables. Even if it were defined as a view it would not be an "updatable" view because of...
Cheers,
- Mark
August 4, 2003 at 10:05 pm
Vivian,
I've seen such standards documented at various sites, but not for public consumption. Why not? Beats me.
But, one SQL organisation here in Oz called SSW has a number...
Cheers,
- Mark
August 4, 2003 at 3:47 am
My guess is NO. Hard to find anything in BOL that states explicitly whether you can or not, but my answer is based on:
1) you can't run sp_adddistributor twice
2)...
Cheers,
- Mark
August 3, 2003 at 6:34 pm
I think you might be expecting too much of the SQL engine. YOU know that the 20 various rows just inserted will satisfy the query you subsequently execute, but...
Cheers,
- Mark
August 3, 2003 at 5:59 pm
Bobster,
UPDATE() doesn't need to be tested for each row, because it is true for the entire set. ie. the single- or multi-row update is fired by something like:
Cheers,
- Mark
August 3, 2003 at 3:34 pm
oh well, scratch that theory. ![]()
anything in the setup log/s?
Cheers,
- Mark
Cheers,
- Mark
August 3, 2003 at 3:06 pm
You're not trying to install on Win 2003 Beta, or the Web Edition are you? There's issues/restrictions with them.
Cheers,
- Mark
Cheers,
- Mark
August 3, 2003 at 6:02 am
I think you're out of luck with BULK INSERT, whereas I believe BCP gives you the option of specifying a "discard" file.
Cheers,
- Mark
Cheers,
- Mark
August 2, 2003 at 8:17 pm
Vivian,
Rather than capturing SP_WHO output, you could go straight into sysprocesses (like SP_WHO does anyway). The following captures all current connections from "MyPC" into a temporary table #who...
Cheers,
- Mark
August 2, 2003 at 6:09 pm
How about:
SELECT DISTINCT ,
(SELECT TOP 1 [office] FROM UserOfficeCount WHERE = A. ORDER BY [count] DESC) [office]
FROM UserOfficeCount...
Cheers,
- Mark
August 2, 2003 at 4:37 pm
Viewing 15 posts - 526 through 540 (of 790 total)