Viewing 15 posts - 1 through 15 (of 29 total)
The first select statement shows the NEXT run date for the Jobs. The second select statement shows the history.
To show all the scheduled date/time, not just the NEXT run...
December 17, 2003 at 12:01 pm
Found bugs....
-----------------------------------------
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
ALTER PROCEDURE dbo.ScheduledJobs
( @Startdate smalldatetime,
@EndDate smalldatetime
)
AS
declare @tmpStartDate char(10)
declare @tmpEndDate char(10)
declare @tmpStartTime char(8)
declare @tmpEndTime char(8)
declare @myStartDate int
declare @myEndDate int
declare @myStartTime int
declare...
December 16, 2003 at 7:28 pm
oops! I didn't read your posting carefully. sorry!
December 16, 2003 at 6:14 pm
Try this:
selectcast(o.name as varchar(30)) 'Table Name',
rowcnt Rows,
reserved / 128.0 'Space Allocated MB',
used / 128.0 'Space Used MB'
fromsysindexes i
join sysobjects o
on i.id = o.id
where ( i.indid is null
or...
December 16, 2003 at 6:06 pm
Hello, the following script has not been fully tested. But you get the point, you can do your own debugging.
-------------------------------------------
CREATE PROCEDURE dbo.ScheduledJobs
( @Startdate smalldatetime,
@EndDate smalldatetime
)
AS
declare @tmpStartDate char(10)
declare @tmpEndDate...
December 16, 2003 at 5:58 pm
I think you should be more worry about what gets into production db and make sure what gets into works.
We usually create a lot of db for testing...
December 16, 2003 at 4:26 pm
Gave me 2 days of headache as it was very difficult debug.
Found the answer in: http://support.microsoft.com/default.aspx?scid=kb;en-us;296848&Product=acc2000
October 28, 2003 at 1:32 pm
I created my own SP to capture the DB size by copying the codes in sp_SpaceUsed. Hope it works on you!
CREATE TABLE [dbo].[tblDBSize] (
[DBName] [varchar] (50) NOT...
October 28, 2003 at 10:56 am
oops! billyburns posted the same solution while I was in the middle of typing. Sorry for the duplicate posting!
October 28, 2003 at 10:32 am
It happened to me when I have bit field type in the table.
My scenario: I imported data into the table but nothing is specified for the bit...
October 28, 2003 at 10:29 am
Hello. I have tried, received the following message:
Database name 'xxx' ignored, referencing object in tempdb.
Temp tables are placed in tempdb. It looks like we cannot referecning objects in tempdb...
October 27, 2003 at 5:14 pm
I have tried that before using the Pass-Trough query. I got "Item not found in this collection" error when trying to assign the ADODB.recordset to report's recordset. Not...
October 16, 2003 at 6:08 pm
Thanks for the tips, NPeeters. Figure it out!!
For those who are interested, my solutions are as below:
1. Create a DSN to connect to SQL Server.
2. Create a...
October 14, 2003 at 5:25 pm
Found the solution. It was becuase I am not the administrator in that server. Thanks!
September 9, 2003 at 2:33 pm
Viewing 15 posts - 1 through 15 (of 29 total)