Viewing 15 posts - 781 through 795 (of 1,825 total)
Something like this....
Create Table Calendar
(
DateCol datetime Primary key,
DayNo tinyint)
go
with cte
as
(
Select top (3000) Row_number() over (order by (Select null)) as RowN
from...
June 23, 2010 at 6:06 am
scott.pletcher (6/22/2010)
However, as I understand it, for a single statment, the entire string must match exactly for SQL to reuse the plan; even mixed case in a keyword or extra...
June 23, 2010 at 1:39 am
Eugene Elutin (6/22/2010)
Let's try it together, I really want to find the example where it is possible
Why (other than curiosity ) ? It seems a lot simpler to me to...
June 22, 2010 at 7:28 am
Going from a Left Outer Join to a Full outer join is not a trivial change and is a completely different piece of work.
Post the Execution plan and DDL for...
June 22, 2010 at 7:18 am
The "quirky update" method is based on the assumption/fact that the simpe query is always retrieves or operates with data in the order of the clustered index by default.
I tend...
June 22, 2010 at 4:46 am
Dont take this the wrong way but from here it is very difficult to judge a persons skill level.
Are you aware of what an index is and how and why...
June 22, 2010 at 3:41 am
Ideally you should modify your tables so that and the IPAddress type columns are of the same type, bigint would be best IMO.
You need indexing though. try
Create Unique Index...
June 22, 2010 at 3:32 am
Please post DDL Etc as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
June 22, 2010 at 2:36 am
nguyennd (6/21/2010)
Yes, TEST SQL always order by V1 then V2, but what exception make it don't sort?
Are you saying you have an example where it doesn't sort correctly ?
Any multiple...
June 22, 2010 at 1:39 am
Something like this ?
with cteRows
as
(
Select Row_number() over (order by IdRow) as Rown,
SG300,
SG500,
...
June 21, 2010 at 9:12 am
Have you tried the Ordanance Survey Site ?
https://www.ordnancesurvey.co.uk/opendatadownload/products.html
June 21, 2010 at 6:58 am
Looks pretty good, one sort in there which *could* be removed by adding ( or extending by including) an index.
June 21, 2010 at 4:20 am
Viewing 15 posts - 781 through 795 (of 1,825 total)