Viewing 15 posts - 3,481 through 3,495 (of 7,191 total)
Two things you have to look out for when you run a package from a SQL Server Agent job:
(1) Interactive components. Things like pop-up messages or user applications will...
July 11, 2014 at 3:05 am
What I want though is just the Maximum row number for each place ref.
Do it like I showed you. Change the ORDER BY to DESC instead of ASC,...
July 9, 2014 at 9:18 am
Something like this?
WITH Tenancies AS (
SELECTLOC.[place-ref] AS 'Place Ref'
,PLA.address1 AS 'Address1'
,PLA.address2 AS 'Address2'
,PLA.address3 AS 'Address3'
,PLA.address4 AS 'Address4'
,PLA.address5 AS 'Address5'
,PLA.[post-code] AS 'Postcode'
,LOC.[location-sts] AS 'Location Status'
,LOC.[location-type] AS 'Location Type'
,LOC.scheme AS 'Scheme'
,LOC.[mgt-area] AS...
July 9, 2014 at 8:55 am
Have you tried using the Upgrade Advisor?
John
July 8, 2014 at 4:26 am
An alternative worth considering, since you have a primary key constraint, is to skip the existence check, and instead to handle the error when it occurs.
John
July 3, 2014 at 9:34 am
Surely you just want to do this?
UPDATE sy01200
SET INET5 = LEFT(convert(varchar(40),EmailToAddress),LEN(convert(varchar(40),EmailToAddress))-14)
WHERE Master_Type = 'EMP'
John
July 2, 2014 at 10:44 am
If you can split it, just order the results by NEW_ID() and reconcatenate.
John
June 27, 2014 at 9:50 am
Actually, I'm puzzled. Since the value of @nKeyWord_IdArg isn't set anywhere, I'd expect it to be NULL and therefore no deletion should be attempted. Unless ANSI_NULLS is set...
June 26, 2014 at 9:20 am
I think it's this in your stored procedure:
DELETEdbo.Keywords
WHERE@nKeyWord_IdArg = @nKeyWord_IdArg
That's going to delete the whole table (unless @nKeyWord_IdArg is null).
John
June 26, 2014 at 9:06 am
MVDBA (6/26/2014)
The usage of a non-unique index is optional. Just because an index exists doesn't mean that the server will use it.
how is this different from a unique...
June 26, 2014 at 8:43 am
Should I append my t log backups or write each t log file to its on file? Of course this will make restoring harder as I will have to restore...
June 26, 2014 at 8:02 am
OK, you need to start SQL Server in a simple configuration so that it doesn't load model and msdb, then restore model. There should be plenty of resources out...
June 26, 2014 at 5:20 am
Is SQL Server running? What happens if you try to start it?
John
June 26, 2014 at 4:03 am
That's how it works. If your job is still running at its next scheduled time, it won't run again until the next scheduled time after that (unless, of course,...
June 26, 2014 at 3:26 am
Grant's link doesn't work (for me, anyway), so I'll attempt to answer your questions briefly (although you probably could answer them yourself with a bit of search engine magic).
First, no,...
June 25, 2014 at 5:40 am
Viewing 15 posts - 3,481 through 3,495 (of 7,191 total)