Viewing 15 posts - 5,296 through 5,310 (of 5,590 total)
Bulk Insert into a staging table.
Use the "Quirky" update method to strip each row apart into it's parts.
If you can provide sample data, people on this web site will bend...
June 3, 2009 at 6:05 pm
pvasudha (6/3/2009)
But this does not work if i have more ids.
For each id its giving me all dates.But it should only give me max date within 5 days...
June 3, 2009 at 5:53 pm
mathieu_cupryk (6/3/2009)
F EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].sprUpdateReOpenedTicket') AND type in (N'P', N'PC'))
DROP PROCEDURE [dbo].sprUpdateReOpenedTicket
GO
CREATE PROCEDURE [dbo].sprUpdateReOpenedTicket
(
@ticketID int =...
June 3, 2009 at 5:39 pm
Lynn,
I can't believe that I missed this article when it came out. This is a fantastic article that I've put into my briefcase.
Fantastic job.
June 3, 2009 at 5:30 pm
SQL Server Magazine just published an article by Itzik Ben-Gan where under certain conditions, a cursor-based approach scales out better than a set based one. I'm curious as to others...
June 3, 2009 at 5:25 am
Leo (6/2/2009)
Do I need to...
June 2, 2009 at 7:26 pm
greggoble2 (6/2/2009)
June 2, 2009 at 7:21 pm
Adam Machanic (6/2/2009)
June 2, 2009 at 7:00 pm
Do it in a job.
I think that you can also make an SSIS pkg to transfer logins, which would then be run, you guessed it, as a job.
June 1, 2009 at 8:28 pm
To avoid adding duplicate records, you might want to look at using "where not exists ()" or "where not IN ()"
You might also be able to use the EXCEPT operator.
To...
June 1, 2009 at 8:23 pm
Side note question here... how appropriate is it to mention being an Eagle Scout on your DBA resume?
May 30, 2009 at 10:38 am
GilaMonster (5/30/2009)
WayneS (5/30/2009)
The thing that bugs me, that I don't really understand, is:In any of these conditions, the best plan is to do an indexed seek.
Yes, but if it does...
May 30, 2009 at 10:13 am
The thing that bugs me, that I don't really understand, is:
If I have a table:
CREATE TABLE dbo.TableA (
Col1 varchar(10),
Col2 varchar(10),
...
May 30, 2009 at 7:10 am
Chad Crawford (5/29/2009)
GilaMonster (5/29/2009)
Not much....
Wayne - thanks for letting me interject... we now return you to your previously scheduled programming...
Chad
Not a problem... we all get to more learn, and it...
May 29, 2009 at 7:34 pm
GilaMonster (5/29/2009)
WayneS (5/28/2009)
I've seen several mentions of a "catch-all" query, where the "where" statement has several conditions in it.
My definition of 'catch-all' (for what it's worth) is a query that...
May 29, 2009 at 5:39 am
Viewing 15 posts - 5,296 through 5,310 (of 5,590 total)