Viewing 15 posts - 18,766 through 18,780 (of 26,484 total)
Jeff Moden (9/22/2009)
September 23, 2009 at 4:29 pm
Jeff Moden (9/23/2009)
David Kranes (9/23/2009)
Sorry for the delay in providing this. I have attached the DDL.Where? Not on that post...
It was there, I opened directly, but I since...
September 23, 2009 at 4:25 pm
This is another way and doesn't use the convert statement:
dateadd(dd, datediff(dd, 0, getdate()), 0)
September 23, 2009 at 4:15 pm
sqlislife (9/23/2009)
What is the best way to write a tsql code for parametrized date ranges? For example
create procedure procname
(
@datestart datetime,
@dateend datetime
)
as
select column1
from...
September 23, 2009 at 4:08 pm
Chuck Lucking (9/23/2009)
create table #Task (Task varchar(10), Due smalldatetime)
insert #Task select 'TaskA','09/21/2009'
insert...
September 23, 2009 at 3:59 pm
kiran_ramisetti (9/23/2009)
September 23, 2009 at 1:58 pm
Thomw (9/23/2009)
September 23, 2009 at 11:40 am
As asked before, would you please post the DDL for your table and the indexes?
September 23, 2009 at 10:17 am
Silverfox (9/23/2009)
Lynn Pettis (9/23/2009)
I took a look at this particular thread. I do agree with you, Silverfox, and I am usually one tht tries very hard in this regard....
September 23, 2009 at 9:58 am
Silverfox (9/23/2009)
Gianluca Sartori (9/23/2009)
If he insists killing processes without knowing what they do, let him do it.He already has decided to increase lock timeout and kill process, so, why bother?
Has...
September 23, 2009 at 9:15 am
Elliott W (9/22/2009)
Lynn, great article..You make reference to Jeff's article, I'm curious how this method compares to Jeff's method..
CEWII
I'm not sure what you are talking about. I...
September 22, 2009 at 11:22 pm
Jeff,
Test this one out:
USE [SandBox]
GO
/****** Object: UserDefinedFunction [dbo].[ufn_Tally2] Script Date: 09/22/2009 09:06:54 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
alter function [dbo].[ufn_Tally2](
@pStartValue bigint = 1,
...
September 22, 2009 at 4:21 pm
I incorporated the changes that both Gus and Jeff suggested and using the simple SET STATISTICS TIME ON method of testing, the routine generates 1,000,000 rows in approximately 900ms.
Here is...
September 22, 2009 at 3:13 pm
See, and now we are finding some very interesting errors in the code that I missed. Thanks, I do appreciate it. 🙂
September 22, 2009 at 2:59 pm
Jeff Moden (9/22/2009)
Lynn Pettis (9/22/2009)
September 22, 2009 at 2:20 pm
Viewing 15 posts - 18,766 through 18,780 (of 26,484 total)