Viewing 15 posts - 2,056 through 2,070 (of 2,900 total)
Amit Gupta (11/19/2008)
November 20, 2008 at 10:06 am
Here's my homemade version:
SELECT sysdb.name, bkup.description, bkup.backup_finish_date,
case
when type='D' then '** FULL **'
when type='I' then 'DIFFERENTIAL'
when type='L' then 'LOG'
end as Backup_Type,
(STR(ABS(DATEDIFF(day, GetDate(),(backup_finish_date))))) as 'Days_Ago',
ceiling(bkup.backup_size /1048576)...
November 20, 2008 at 9:21 am
I took a bit of a different approach to examine the SPs. I used your idea of sysdepends by using sp_depends in a loop of all the stored procs to...
November 20, 2008 at 9:02 am
Saving the table, as suggested above is the best idea. Backup & restore (to another DB name I assume) is overkill for this application.
November 20, 2008 at 7:36 am
Not quite, but maybe I can tweak it a bit,
November 20, 2008 at 7:32 am
That was easy ! Thanks. I must have had a mental block thinking it wouldn't work that way because it looks like it's trying to select @FLD4 from...
November 19, 2008 at 3:17 pm
I'm not quite clear on the problem, but maybe what you're looking for is "STANDBY" instead of "norecovery". then you can run selects because the DB is in read-only, but...
November 19, 2008 at 7:43 am
Chris Morris (11/18/2008)
Good point Homebrew, however rather than risking locking users out of a live table, I'd run the update checks against the copy 😎Cheers
ChrisM
You're right. I should have at...
November 18, 2008 at 10:35 am
Phil Auer (11/12/2008)
2. I do not have another SQL Server 2000 instance to test on (all others are 2005) and I don't want to play around on my production server....
November 18, 2008 at 10:08 am
Is this theoretical or actual ? If actual, then you should already have backups and you can look at the file size. The available space will not be...
November 18, 2008 at 10:04 am
FYI, when making changes to data like this, I usually take a few precautions.
1. Back up the table first by creating a copy with a different name, such as:
[font="Courier New"]select...
November 18, 2008 at 9:59 am
Perhaps you could explain the environment a bit more & what you are currently doing, then others can make more specific suggestions.
November 18, 2008 at 8:41 am
Mike Levan (11/17/2008)
Also how can i test that proc by running...
November 18, 2008 at 8:31 am
High CPUTime and DiskIO might just mean that the connection has been open for a very long time and a lot of work has been done. The connection could...
November 14, 2008 at 12:52 pm
So, it seems that RWA_ID is created by 2 different processes. One increments numbers starting at 6000000000, and another increments starting at 8000000000. A bit strange design, since eventually...
November 14, 2008 at 12:38 pm
Viewing 15 posts - 2,056 through 2,070 (of 2,900 total)