Viewing 15 posts - 15,541 through 15,555 (of 26,486 total)
How is this percentage supposed to be calculated?
May 7, 2010 at 11:51 am
Concur. That makes three, must be true.
May 7, 2010 at 11:14 am
As you mention a table scan, I am making two assumations, 1) the index that you are referencing is a nonclustered index, and 2) there isn't a clustered index on...
May 7, 2010 at 11:02 am
sharon.souto (5/7/2010)
I have some code written by a developer who no longer works here, and they often use a star in their where clauses. I don't know what...
May 7, 2010 at 10:52 am
CirquedeSQLeil (5/7/2010)
GilaMonster (5/7/2010)
Gianluca Sartori (5/7/2010)
Lynn Pettis (5/7/2010)
Our PhD candidate at work.Hope I wasn't too rude.
This guy has the ability to drive me insane (maybe it's his signature???) .
You and...
May 7, 2010 at 10:40 am
Check out the function here. It is an inline TVF and will out perform your multi-line TVF.
Also, if youdo some searching here on SSC you may find similar routines...
May 7, 2010 at 10:36 am
Gianluca Sartori (5/7/2010)
Lynn Pettis (5/7/2010)
Our PhD candidate at work.Hope I wasn't too rude.
This guy has the ability to drive me insane (maybe it's his signature???) .
I'm STILL trying to...
May 7, 2010 at 10:30 am
san-1015392 (5/7/2010)
% of errorcount...so need 3 more column...
Doesn't answer the question really. How is this supposed to be computed? If you have included this in the query above,...
May 7, 2010 at 10:28 am
Percent of what?
Also, you may want to change this:
where convert(char(8), dtmdatecreated, 112) >= convert(char(8), GETDATE()-7, 112)
to this:
where
dtmdatecreated >= dateadd(dd, -7, dateadd(dd, datediff(dd, cast('19000101' as datetime), getdate()),...
May 7, 2010 at 10:16 am
If you want additional help you need to do some additional work.
You need to post the DDL (CREATE TABLE statement(s)) for the table(s) involved. You need to report the...
May 7, 2010 at 9:53 am
You may get better help from your email administrator. That is where i would go with issues like this one.
May 7, 2010 at 9:38 am
srilu_bannu (5/6/2010)
table c insertion:
insert into sales values
(2,200,2007)
(3,300,2010)
(5,300,2010)
if i only include B.year then i will miss 2007 shipped data in Sales table...
May 7, 2010 at 9:32 am
You really don't need to use cursors. A delimited split function written as an inline TVF used with cross apply would work much more efficiently.
You can find several such...
May 7, 2010 at 8:42 am
Viewing 15 posts - 15,541 through 15,555 (of 26,486 total)