Viewing 15 posts - 136 through 150 (of 253 total)
Huh, so doing that via command-line syntax is possible! Guess I slipped up on that one :-P. I seem to recall trying to do something similar via cmdshell...
- 😀
November 9, 2013 at 6:27 am
Ah, you'll probably need to create an Agent job and specify it as a Powershell type. Using xp_cmdshell may work, but it doesn't have the flexibility of Powershell. ...
- 😀
November 8, 2013 at 3:07 pm
Hm. I could be wrong on this, but I believe xp_delete_file will only work on SQL Server backup and report files; that is, files ending in .trn, .bak, and...
- 😀
November 8, 2013 at 1:42 pm
Hm. I believe something like this should work:
SELECT CASE_ID, MAX(DATE) as [MY_DATE],FIELDA,FIELDB
INTO #Temp
FROM dbo.DB2 WHERE FIELDA = 1 AND FIELDB IS NULL GROUP BY CASE_ID,FIELDA,FIELDB)
SELECT Maxdate.Date,db1.CASEID
FROM db1
WHERE...
- 😀
October 24, 2013 at 8:19 am
At my last job, I got a grand 2 days of vacation time a year, and everyone got Thanksgiving Day and Christmas Day off; that was it. I was...
- 😀
October 23, 2013 at 8:04 am
Hm. Without table definitions and a bit of sample data, it's hard to make an exact suggestion, though I can see the problem you're having; you're using MAX(SFEffectiveDte), but...
- 😀
October 22, 2013 at 3:12 pm
Hm. From what I can tell, you're trying to search for something LIKE '_%', correct? That is, you want to search for things where there's an underscore, then...
- 😀
October 18, 2013 at 12:22 pm
Ah, looks like we're back to where we were when the problem started; things are moving pretty slowly again. It seemed that the max memory adjustment helped, but it...
- 😀
October 17, 2013 at 12:22 pm
Huh, wasn't aware of the OS memory limit. That would definitely explain the usage amount, though; we're on Standard edition. The actual physical box we're on has 98GB...
- 😀
October 17, 2013 at 11:33 am
Huh, interesting! Since you mentioned the server memory settings, I took a look again. For whatever reason, the max memory usage was dropped from 28GB to 24GB. ...
- 😀
October 17, 2013 at 10:53 am
Well, I was able to talk with one of the sysadmins this morning, and I got a look at the VM specs. The new physical box it's on has...
- 😀
October 17, 2013 at 9:43 am
So far, we haven't found a resolution. I've been able to isolate the problem to the CPU, but I'm not certain why the CPU would be more strained now...
- 😀
October 16, 2013 at 10:22 am
Hrm... I might be missing something here, but why is the second case incorrect? September this year had 30 days, so the difference between 22 after midnight and...
- 😀
October 15, 2013 at 11:39 am
Barring any missing criteria, this should be an UPDATE...FROM query:
UPDATE Destination
SET Destination.d = Source.a
FROM Destination
INNER JOIN Source
ON Destination.e = Source.b
Test this first, of course, before firing it off as an...
- 😀
October 10, 2013 at 2:24 pm
Admittedly, I haven't looked at the VM setup much at all; I don't have much sway in that area, so I'm more or less blocked from examining the VM itself...
- 😀
October 10, 2013 at 1:25 pm
Viewing 15 posts - 136 through 150 (of 253 total)