Viewing 15 posts - 1 through 15 (of 73 total)
sorry people, being very silly today...
just used the REPLACE function:w00t:
June 26, 2009 at 6:39 am
i want to have one Currency and one Balance column.
where the CurrencyOld is null exclude it and include CurrencyNew
and the CurrencyNew is null exclude it and include CurrencyOld
June 22, 2009 at 5:02 am
found the problem earlier, a script released to the environment didn't have a GO or END statement. Script contained an alter proc as well as a create index, so the...
June 9, 2009 at 6:40 am
the reason why im trying to delete this index is cos our application is throwing this error in our logs...
09-Jun-2009 06:53:48 [TP-Processor31] [ERROR] [DatabaseResult] Failed to close DatabaseResult java.sql.SQLException: The...
June 9, 2009 at 1:35 am
this is the query plan without the non clustered index which produced 9 table scans
|--Compute Scalar(DEFINE:([Expr1003]=CONVERT_IMPLICIT(int,[globalagg1005],0)))
|--Stream Aggregate(DEFINE:([globalagg1005]=SUM([partialagg1004])))
...
May 13, 2009 at 8:28 am
i get a count of 315000.
this is the create table script.
CREATE TABLE [dbo].[EntityCollection](
[EntityIdentifierContext] [varchar](32) NOT NULL,
[EntityIdentifier] [varchar](64) NOT NULL,
[EntityIdentifierSequence] [varchar](32) NULL,
[EntityIdentifierComposite] [varchar](128) NOT NULL,
[Data] [ntext] NULL,
[XML] [xml] NULL,
CONSTRAINT...
May 13, 2009 at 8:20 am
@christopher, yes i the non clustered index was created on a smaller column:cool:
May 13, 2009 at 8:13 am
ok i was also interested to know how many scans were taking place since i added the non clustered index
(1 row(s) affected)
Table 'EntityCollection'. Scan count 1, logical reads 2351, physical...
May 13, 2009 at 8:10 am
ill post that in a bit, just busy on something else....
May 13, 2009 at 8:05 am
its not partitioned, but i managed to sort this problem out.
i added a non-clustered index on a smaller column and voila... i now have great performance
thanks for all the advice...
May 13, 2009 at 7:35 am
ok. Scan Count - is the no of times a table is referenced in a query. i.e. How many times the table was accessed.
so with that in mind, why would...
May 13, 2009 at 12:11 am
Viewing 15 posts - 1 through 15 (of 73 total)