Viewing 7 posts - 106 through 112 (of 112 total)
You can create a static table for time slot as follow
This works in SQL 2008
create table #StaticTable(TimeSlot time)
insert into #StaticTable
select '00:00:00'
Union ALL
select '00:30:00'
Union ALL
select '01:00:00'
Union ALL
select '01:30:00'
Union ALL
select '02:00:00'
Union ALL
select...
May 3, 2012 at 11:34 am
Create a static table with all time slots and do LEFT JOIN
May 3, 2012 at 10:00 am
I would use any system table that has more than 100 rows
With Top100 (SrNo)
AS
(select top 100 ROW_NUMBER() over(order by Name) SrNo from sys.all_columns)
Select SrNo from Top100
Daxesh
May 2, 2012 at 6:36 am
small correction to SSC Eights's script. Adding "use ?"
exec sp_msforeachdb 'use ? select ''?'', create_date FROM sys.objects where name = ''sysrowsets'''
This should give you create date for each database.
July 26, 2011 at 10:07 am
You can start with installation of "SQL Server 2005 Performance Dashboard Reports" download from following link.
You can go through all the reports and ofcourse to understand the problem...
March 3, 2009 at 7:29 pm
Hi,
A possible reason for your problem is, transferring text from unicode to non-unicode columns or vice-versa.
Just check the data types in source/destination columns.
July 4, 2008 at 6:49 am
Viewing 7 posts - 106 through 112 (of 112 total)