Viewing 15 posts - 526 through 540 (of 872 total)
Possibly unused space?
select
[FileSizeMB]=
convert(numeric(10,2),sum(round(a.size/128.,2))),
[UsedSpaceMB]=
convert(numeric(10,2),sum(round(fileproperty( a.name,'SpaceUsed')/128.,2))) ,
[UnusedSpaceMB]=
convert(numeric(10,2),sum(round((a.size-fileproperty( a.name,'SpaceUsed'))/128.,2))) ,
[Type] =
case when a.groupid is null then ''...
June 27, 2008 at 10:55 am
The usage of memory reported in task manager from sqlserver isn't an accurate representation of the memory currently utilized by SQL Server. When you do not have your max server...
June 27, 2008 at 8:32 am
Actually, I think I got it ... I used Use as Windows credentials when connecting to the data source, and took off Impersonate ... appears to be working just fine.
June 23, 2008 at 9:22 am
AH! I know this has to be possible ...
June 20, 2008 at 7:56 am
Yeah I thought about that as well ... but not really a route I want to take ... was hoping there was something I was overlooking.
June 18, 2008 at 12:15 pm
One more bump ... hopefully someone has had this issue ...
June 18, 2008 at 10:05 am
Well ... haven't had much luck ... anyone got something I'm missing here?
Thanks
June 17, 2008 at 2:21 pm
For the time being I'm using sys.sysprocesses ... but I'd really like to find an alternative.
Thanks
June 17, 2008 at 8:57 am
Can anyone think of a better way to do the join? It’s not pretty, but this appears to be working …
SELECT
CASE
WHEN p.program_name LIKE 'SQLAgent - TSQL JobStep%' THEN 'Job:...
June 16, 2008 at 12:14 pm
The thing that is really killing me is that if you cast the job_id from sysjobs as varbinary, it looks identical to the program_name in sysprocesses …
SELECT program_name FROM sys.sysprocesses
WHERE...
June 16, 2008 at 11:56 am
Haven't had much progress ...
June 16, 2008 at 9:03 am
Awesome ... but I need to get this into a view, no dynamic sql ...
I'm close, but having some serious issues when converting char to uniqueident ...
This is what I...
June 13, 2008 at 1:43 pm
Also, do you know if the hex # in sysprocesses is always the same length? I am trying to figure out the best way to parse out the number to...
June 13, 2008 at 12:41 pm
akshay1974 (6/13/2008)
The hex is the job_id. Try the belowselect * from msdb..sysjobs where job_id =
0x3E31DB24ED72CD49A8114462A66A0367
Woah, how is this possible? How can I convert that number to match the...
June 13, 2008 at 12:38 pm
Viewing 15 posts - 526 through 540 (of 872 total)