Viewing 15 posts - 46 through 60 (of 66 total)
All are backups are done via maintenace plans and the files have the format of
<dbname><yearmonthday><hourminutesecond>.BAK.
I am using sp_start_job to use the maintenance plan backup.
Steve
October 6, 2004 at 12:10 pm
Thanks for the input. I am trying to create a stored procedure to restore a database under a new name using the last backup. I need to access that information...
October 6, 2004 at 11:37 am
OK I wrote a function that returns the information. Thanks to my colleague the trick was OPENROWSET.
Here is the function
CREATE FUNCTION dbo.FN_JobCurrentExecutionStatus (@jobname sysname)
RETURNS int
/***********************************************************************************************************
Purpose: This function returns the current_execution_status
The results...
October 5, 2004 at 2:31 pm
OK I changed my script and received these results, which I think indicate that the UNION has less Logical reads. HMMM?
Always learning...
Steve
Select a.[ID],...
September 15, 2004 at 12:01 pm
I created the following script
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TABLEA]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[TABLEA]
GO
CREATE TABLE [dbo].[TABLEA] (
[ID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER...
September 15, 2004 at 11:30 am
Could you post the explanation of why left Joins is better than UNION?
Thanks
Always learning,
Steve
September 15, 2004 at 10:50 am
Thanks for the help. Perhaps I wasn't clear...
I have restored the master from the cluster at home to the recovery server replacing master. So the paths for master and error...
August 6, 2004 at 7:15 am
Could you give me an example of the subquery?
May 6, 2004 at 1:26 pm
Thanks for all the good information (and congratulations on 150!)
How does one turn it off?
Steve
March 16, 2004 at 8:53 am
What is the point of a trick question?
or should I say
What is NOT the point?
March 1, 2004 at 11:46 am
Here is what I am doing. I am creating a job that will backup the log of two databases (A and B) and do a complete backups. When these complete successfully I...
February 11, 2004 at 1:20 pm
OK I tried creating a table but sp_help_job must create a table wothin the procedure because I am getting "An INSERT EXEC statement cannot be nested".
So let me ask my...
February 11, 2004 at 12:13 pm
Yes, I would agree that documented outcomes that are not expected are not a bug. It might be nice if a message could warn the poor coder that this is happening. ...
January 28, 2004 at 8:05 am
I would like any emails to be sent to the DBA on call. So, I Thought if I created an email group that contained the name of this week's DBA...
January 14, 2004 at 10:55 am
Jonathan
I am looking at your SP and trying to understand it. Is there any documentation on spt_values? I can't seem to find it in BOL.
December 31, 2003 at 10:02 am
Viewing 15 posts - 46 through 60 (of 66 total)