Viewing 15 posts - 6,991 through 7,005 (of 7,636 total)
To add a server to a registration group in SMO, you first make (" as New") a ServerGroup object with the name of the ServerGroup, then you make a RegisteredServer...
May 4, 2008 at 2:32 pm
Jeff Moden (5/2/2008)
Funny, they work fine for me... they take me right to the post I wanted.
I think that it has to do with paging. Anchors, like page#postnumber won't...
May 4, 2008 at 1:21 pm
Heh, I don't know how that happened. Thanks, Sergiy.
May 4, 2008 at 1:08 pm
Sergiy (5/2/2008)
Then you may run
SELECT * FROM t_all_combination
WHERE Value IN (12, 35)
Sergiy: Shouldn't that be something like this?:
SELECT * FROM t_all_combination
WHERE Id IN (Select t2.Id From...
May 2, 2008 at 5:40 pm
You are probably going to have to use OPENQUERY or OPENROWSET for this.
May 2, 2008 at 5:25 pm
Well the version of Matt's that you have actually seems to be comparing two queries: a static version (first half), vs. a Dynamic SQL version (second half) so it's really...
May 2, 2008 at 3:07 pm
Matt: this is what I posted:
Create Proc spTableRows_Window(@startingRow int, @rows int)
AS
--NOTE: some stuff stolen from Jeff Moden and Matt Miller
Select * From ExampleTable
Where LookupCol IN(
...
May 2, 2008 at 2:06 pm
If this is being run from an Agent Job, then I believe that each step is wrapped in its own transaction. You would have to use your own Explicit...
May 2, 2008 at 1:43 pm
And how can we tell the difference between debits, credits and payments?
May 2, 2008 at 1:11 pm
Here is a version that gets all of the bonuses:
SELECT customerid, count (Distinct surname) AS count1
FROM tblcustomeraudit nolock
Where audituser is NULL-- bonus 3 (?)
GROUP BY customerid
Having...
May 2, 2008 at 12:11 pm
Oops, I just noticed... my first one may not work on SQL 2000. Second one should be fine though.
May 2, 2008 at 11:53 am
Etiher one of these should work:
SELECT customerid, count (Distinct surname) AS count1
FROM tblcustomeraudit nolock
GROUP BY customerid
Having count (Distinct surname) > 1
And count (Distinct forname) >...
May 2, 2008 at 11:52 am
Jeff Moden (4/30/2008)
See the following URL... almost identical situation...http://www.sqlservercentral.com/Forums/Topic491969-149-1.aspx#bm492576
Jeff:
FYI, the "Post #" links like this do not seem to be working, they just take to the beginning of...
May 2, 2008 at 10:32 am
Viewing 15 posts - 6,991 through 7,005 (of 7,636 total)