Viewing 15 posts - 23,821 through 23,835 (of 59,102 total)
pietlinden (4/20/2014)
Basically, the Calendar table has...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2014 at 9:03 pm
Jack Corbett (4/17/2014)
gbritton1 (4/17/2014)
select datediff(m, '0001-01-01', '9999-12-31')
returns 119987
That is the largest difference in minutes between the earliest and latest dates handled by SQL Server. The...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2014 at 6:35 pm
gbritton1 (4/17/2014)
Just do it in a loop, ...
I hope your not serious. Let's see the code that does it in a loop.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2014 at 6:33 pm
cook155 (4/20/2014)
Warning1Dimension [Date] : Avoid visible attribute hierarchies for attributes used...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2014 at 6:31 pm
Tom Brown (4/15/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2014 at 6:29 pm
Ok... I have to ask. What do either of those functions do for creating a table other than returning some meta-data that you could write some dynamic T-SQL to...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2014 at 6:12 pm
@thom-2 Bolin,
I might be the only one but I like the title of "Unexpected View Performance" because use of the UNION operator seems to be much more prevalent in views...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2014 at 5:27 pm
pandeharsh (1/11/2011)
Hi,Can you draw the conclusion in other words ?
I think a better question would be, after reading the article and doing all of the tests, what is YOUR conclusion?...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2014 at 4:17 pm
N_Muller (4/18/2014)
What would be the expected behavior had the tables been defined with varchar(9) and varchar(10), instead of char(9) and char(10)?
What would you have expected? Do the experiment. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2014 at 4:16 pm
stephenejones1960 (4/19/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2014 at 12:49 pm
WayneS (4/20/2014)
Steve Jones - SSC Editor (4/19/2014)
Greg Edwards-268690 (4/19/2014)
Although attention to details is part of or job, I wonder if something could be done at some time to at...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2014 at 12:09 pm
Revenant (4/19/2014)
TomThomson (4/19/2014)
rhythmk (4/19/2014)
Ed Wagner (4/18/2014)
Revenant (4/18/2014)
BWFC (4/18/2014)
crookj (4/17/2014)
Ed Wagner (4/17/2014)
SQLRNNR (4/17/2014)
pretenseassumption
postulation
Theory
Science
Thought
Concept
idea
horse (just could not resist, Tom)
Sense.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 19, 2014 at 4:04 pm
Eric M Russell (4/16/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 19, 2014 at 4:00 pm
feroz_tt (4/16/2014)
I'm getting some problem here
;with Numbers (Number) as
(select row_number() over (order by object_id)
from sys.all_objects)
select dateadd(month, number, '2014-09-01')
from Numbers
where number <= datediff(month, '2014-09-01', '2016-03-31')
Low no of months.
Select datediff(month,...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 19, 2014 at 3:47 pm
LearnSQL!!! (4/15/2014)
Example of table structure :
CREATE TABLE [dbo].[MaintenanceTable](
[TableName] [varchar](50) NOT NULL,
[Note] [varchar](250) NULL,
[MaintenanceOrder] [int] NOT NULL,
CONSTRAINT [PK_ReplicationTableMaintenance] PRIMARY KEY CLUSTERED
(
[TableName] ASC,
)WITH ON [PRIMARY],
CONSTRAINT [UNQ_MaintenanceTable_MaintenanceOrder]...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 19, 2014 at 3:34 pm
Viewing 15 posts - 23,821 through 23,835 (of 59,102 total)