Viewing 15 posts - 2,146 through 2,160 (of 3,008 total)
Jeff Moden (11/23/2008)
select [FileSizeMB] = convert(numeric(10,2),round(a.size/128.,2)),
[UsedSpaceMB] = convert(numeric(10,2),round(fileproperty( a.name,'SpaceUsed')/128.,2))...
November 24, 2008 at 8:19 am
This script will tell you the size of every table in a database.
Script to analyze table space usage
November 22, 2008 at 3:23 pm
I don't understand why the OP is even posting his code here.
His failure to answer any of the requests for information on the expected results makes it impossible to offer...
November 22, 2008 at 3:19 pm
SQL_Easy_btn? (11/21/2008)
Here is a really good thread on the topic.http://www.sqlservercentral.com/Forums/Topic558227-146-1.aspx
The thread in that link seems to be about the amount of free space on the drives, not about the amount...
November 21, 2008 at 12:15 pm
marty.seed (11/21/2008)
Sorry, good question. The next SundaySo if I was to pass in todays date I would get 11/23/08
What do you want it to return if today is Sunday, today...
November 21, 2008 at 12:04 pm
dphillips (11/20/2008)
Michael Valentine Jones (11/20/2008)
November 20, 2008 at 1:27 pm
How about telling them the guy who was keeping the records of the backup tapes left years ago, was never replaced, and you don’t have any idea how to find...
November 20, 2008 at 12:20 pm
There are a lot of people that post questions where they don’t even know how to ask the question, can’t make themselves understood in English, probably shouldn’t be working with...
November 19, 2008 at 2:03 pm
The fastest way to get started is to use the Maintenance Plan Wizard.
You should also ready about Backup and Recovery in SQL Server 2005 Books Online.
November 19, 2008 at 11:35 am
The code below has a couple of options you can use:
select
next_run_date,
right(10000000+next_run_time,6) as Time1,
stuff(stuff(right(10000000+next_run_time,6),5,0,':'),3,0,':') as Time2
from
msdb..sysjobschedules
Results:
next_run_date Time1 Time2
------------- ------ --------
20081119 ...
November 18, 2008 at 4:54 pm
Take a look at the stored procedure code I posted on this link. It should meet all the requirements you stated.
Generate Password Procedure
November 14, 2008 at 3:02 pm
Have you verified that the tables that you don't see improvement on have clustered indexes?
November 14, 2008 at 2:54 pm
There is some performance hit to running on a VM, but it is hard to predict exactly what it will be. You are sharing real hardware with other VMs,...
November 13, 2008 at 4:12 pm
"My understanding is, a primary key should be not null and uniquely identify each row"
A primary key must be not null and must uniquely identify each row.
"Is there like a...
November 13, 2008 at 12:45 pm
If you can, convert your ntext column to nvarchar(max), and you won't have to worry about updatetext or writetext. You can just use regular string functions and operators.
November 12, 2008 at 11:38 pm
Viewing 15 posts - 2,146 through 2,160 (of 3,008 total)