Viewing 15 posts - 4,636 through 4,650 (of 14,953 total)
Roy Ernest (3/11/2011)
March 11, 2011 at 11:09 am
SELECT LEFT(ipaddress, CHARINDEX('.', ipaddress, CHARINDEX('.', ipaddress)+1)-1), COUNT(*)
FROM #tempIPTable
GROUP BY LEFT(ipaddress, CHARINDEX('.', ipaddress, CHARINDEX('.', ipaddress)+1)-1);
March 11, 2011 at 11:08 am
First, you need a Begin and End for the If, otherwise it just controls the next command.
Second, use Raiserror instead of Print.
Third, why not do this in the insert proc,...
March 11, 2011 at 9:42 am
I'd do what I could to find table and data differences between the two datasets, summarize them, and present that.
Are there column differences? (Like, you have first and last...
March 11, 2011 at 9:30 am
Lionel E. Nzenze (3/11/2011)
So not send mail from a trigger.
Get the Trigger to write Whatever you want into some table.
Create a SQL Server Job to poll the said table...
March 11, 2011 at 9:21 am
Ian Scarlett (3/11/2011)
DBA - Does Bu**er Allas some of my co-workers try to tell me 😛
And here I thought the usual insult on it was "Database A**hole".
March 11, 2011 at 9:15 am
Brandie Tarvin (3/11/2011)
hor_netuk (3/11/2011)
March 11, 2011 at 9:14 am
I haven't run into that issue, but it seems you could test it pretty easily by logging the values.
March 11, 2011 at 6:48 am
Tom.Thomson (3/10/2011)
Chad Crawford (3/10/2011)
jcrawf02 (3/10/2011)
March 10, 2011 at 1:50 pm
CELKO (3/10/2011)
I am doing the second edition of TREES & HIERARCHIES this year. If you have stuff that ought to be in the book, plese send it...
March 10, 2011 at 1:37 pm
sean-495500 (3/10/2011)
If added a new column into the table called OrganisationLevel with a HierarchyID datatype, then updated this column with the Hierarchy data that you...
March 10, 2011 at 12:43 pm
Brandie Tarvin (3/10/2011)
Two years ago, we implemented a new process that uses the acronym "RI". I've been working on that process ever since. I've gotten...
March 10, 2011 at 11:17 am
It looks like your database files are missing. You may need to restart the SQL service to get SQL Server to realize that the database isn't there.
March 10, 2011 at 9:32 am
I would certainly hope the DBA verifies the values and connection before deploying!
March 10, 2011 at 9:30 am
The easiest way to do this kind of thing is build a "DateTimes" table and join to that.
create table dbo.DateTimes (
DTVal datetime primary key,
constraint CK_DTVal_Hourly check (datepart(minute, DTVal) = 0...
March 10, 2011 at 9:26 am
Viewing 15 posts - 4,636 through 4,650 (of 14,953 total)