Viewing 15 posts - 39,796 through 39,810 (of 49,552 total)
peleg k (4/12/2009)
Select * from Messag2008+@MonthName
but withought using a dynamic query which will be activated...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 12, 2009 at 4:00 am
Jack Corbett (4/11/2009)
So am I. The nice thing is I'm not expecting to be selected so I feel no pressure.
I'm hoping they'll accept one of mine. Firstly because I...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 12, 2009 at 2:27 am
What operating system?
What edition of SQL were you installing?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 12, 2009 at 2:14 am
Wish (4/12/2009)
I read many post suggesting to avoid cursor as it degrade the performance. But I am confised why cursor is slower.
Because cursors are iterative, row-by row operations....
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 12, 2009 at 2:10 am
Please post new questions in a new thread and include as much detail as possible, including any errors that you get as well as the stack dump, what causes the...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 12, 2009 at 1:43 am
Bob Hovious (4/11/2009)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 11, 2009 at 11:43 am
Bob Hovious (4/11/2009)
I was thinking about the LIKE solution earlier, but that would make the join be
INNER JOIN T2 ON LongCode like ShortCode+'%'
Yup.
Doesn't the ShortCode+'%' expression create the same problem...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 11, 2009 at 11:37 am
Jeff Moden (4/11/2009)
I saw that Gail and Jack also made submittals.
Grant also. He was a real early-bird and submitted before I'd even decided on titles.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 11, 2009 at 11:10 am
Post the exec plan for each please.
While a heap is occasionally beneficial, in most cases it's better for a table to have a cluster. There's probably a missing index or...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 11, 2009 at 11:07 am
Florian Reischl (4/11/2009)
DECLARE @i INT
SET @i = 1
START:
PRINT...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 11, 2009 at 10:52 am
like this:
CREATE TABLE [dbo].[test6](
[callerid] [char](5) NOT NULL,
[name] [varchar](50) NULL,
[address] [varchar](50) NULL,
[recordnum] [int] IDENTITY(1,1) NOT NULL
primary key NONCLUSTERED ( callerid)
) ON [PRIMARY]
GO
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 11, 2009 at 10:39 am
Bob Hovious (4/11/2009)
Gail, do you have some authority for us on the joins using the LEFT function?
Authority? I have some experience with it, if that's sufficient.
Joins are the same...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 11, 2009 at 10:38 am
radek (4/11/2009)
Hi,is possible create heap with primary key??
Sure. Create the PK as a nonclustered index.
ALTER TABLE ... ADD CONSTRAINT ... PRIMARY KEY NONCLUSTERED ....
Im testing query... If I have clustered...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 11, 2009 at 10:37 am
Vijaya Kadiyala (4/11/2009)
Ex: If i have millions of...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 11, 2009 at 10:15 am
Bob Hovious (4/11/2009)
You should feel safer now, too. 😉
:rolleyes:
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 11, 2009 at 10:13 am
Viewing 15 posts - 39,796 through 39,810 (of 49,552 total)