Viewing 15 posts - 13,606 through 13,620 (of 18,923 total)
We shouldn't accept that... the more info we get the better, and the more often we'll get it.
September 2, 2005 at 7:16 am
You're using sql server and he doesn't want you to use stored procs????
Is there a real reason behind is madness?
September 2, 2005 at 7:09 am
Dropped it after the insert or after the select??
September 2, 2005 at 7:05 am
ALTER TABLE dbo.TableName
ADD ColName datetime not null default (GetDate())
September 2, 2005 at 7:03 am
Well the first answer is do it client side. But we always follow with this :
IF Object_id('ListTableColumns') > 0
DROP FUNCTION ListTableColumns
GO
CREATE FUNCTION dbo.ListTableColumns (@TableID as int)
RETURNS varchar(8000)
AS
BEGIN
Declare @Items...
September 2, 2005 at 6:43 am
One other thing that can screw this up :
2+ cpus (multiple threads reading)
or
another process already reading the same data >> the 2nd query joins the fetching of the first...
September 2, 2005 at 6:31 am
This is assuming that the reporting will only ever be monthly and that would be a huge design flaw if you want my opinion.
September 2, 2005 at 6:27 am
Make sure you don't use a function on a column (bad for performance).
Also please not that 90 days and 3 months are not the same thing
September 1, 2005 at 5:27 pm
Can you post the final code so that it may help somebody else?
September 1, 2005 at 5:21 pm
That one's gonna be hard to beat
.
September 1, 2005 at 3:13 pm
Viewing 15 posts - 13,606 through 13,620 (of 18,923 total)