Viewing 15 posts - 37,591 through 37,605 (of 59,098 total)
Both Sumit and Mike have some good pointers for getting this working.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2010 at 9:05 pm
gah (7/20/2010)
Running on SQL 2000...7 year old box with 4gb RAM
100K products
20M transaction lines
sub 1 minute !!!!
beats the hell out of the vendor's app (2½hrs)...but that sits on a different...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2010 at 9:01 pm
steve.vidal (7/20/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2010 at 8:57 pm
Nope... not a DTS package...
Here's 24 hours of 15 minute segments...
SELECT CONVERT(CHAR(5),DATEADD(mi,(t.N-1)*15,0),108)
FROM dbo.Tally t
WHERE t.N BETWEEN 1 AND 96
Of course, for that to work,...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2010 at 6:01 pm
Paul White NZ (7/20/2010)
Jeff Moden (7/20/2010)
Please see the following "how to" article for a T-SQL only solution...
Yes, that's one of the top articles on the whole site. For some...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2010 at 4:53 pm
Thanks for the feedback, RJ. Glad to have been of service.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2010 at 4:52 pm
palla.sureshbabu (7/20/2010)
i need to create a trigger that needs to be fired on a table when that table is idle for two hours.can anybody help me with...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2010 at 4:51 pm
I agree with Roy. You have to find out what the cause of the growth is before you do anything else.
As a side bar, a 15GB TempDB may not...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2010 at 4:48 pm
amrata88 (7/20/2010)
1. Using Stored Procedure requires permission .
Only the members of the sysadmin fixed server role, the db_owner fixed database role, or the owner of the object can execute...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2010 at 4:32 pm
I'll tell you that replacing a cursor with a recursive CTE is counter productive and won't buy you much for performance and may actually cost you about 3 times as...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2010 at 4:20 pm
Paarthasarathy (7/20/2010)
I have a need to split a varchar column into multiple columns based on a delimiter.
Hi have a variable named @a varchar(max)
it contains value similar to below
select @a =...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2010 at 7:10 am
@RJ,
Are you all set on this?
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2010 at 5:58 am
For starters...
1. "SQL Lat..." is not a valid collation.
2. For field 35 (the ID field you're trying to ignore), there must be a length.
3. If you're using...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2010 at 5:12 pm
doobya (7/19/2010)
it calculates the dependency graph for a group of changing objects
and generates the correct dependency-aware script to refresh the...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2010 at 5:00 pm
Jeff Moden (7/19/2010)
Eralper (7/19/2010)
Hello,Easiest solution is using DATEPART function
select DATEPART(WEEK,GETDATE())If that is not useful for your requirements, you can also think of to create date table in SQL Server
It depends....
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2010 at 4:57 pm
Viewing 15 posts - 37,591 through 37,605 (of 59,098 total)