Viewing 15 posts - 4,906 through 4,920 (of 6,486 total)
ACtually - no. RANK just needs to be run over the top N and in everything from "camry" upwards. Everything else is worthless.
with that in mind:
declare @g datetime;
--create...
February 4, 2008 at 8:39 pm
I did catch that, and I'm not denying in any way that your metric is required to get to the top 10, 15, 20, etc... choices they might want. ...
February 4, 2008 at 4:17 pm
You're missing the point I'm trying to make: the two are related. By not giving it something to work with that it "likes" (i.e. appropriate indexing, etc...), and by...
February 4, 2008 at 2:55 pm
Again - look at some of the comments Steve put in. You REALLY don't want to assume you will be updating just one row at a time. You...
February 4, 2008 at 2:29 pm
noeld (2/4/2008)
Indexed View 😉 ... any one ?
I'll pass...:hehe:
Too messy for me, but thank you for asking.
February 4, 2008 at 2:03 pm
Just about any SELECT statement would fall apart with that syntax, since you're trying (incorrectly) to use what is called "dynamic SQL".
Here's an example of what you're looking to do:
declare...
February 4, 2008 at 2:01 pm
Totally agree with the above suggestions.
If you happen to be building this 5MB file of inline commands - might be worth just making it into an XML data file, or...
February 4, 2008 at 1:43 pm
First - have you looked at using the WITH TIES syntax?
Second - the fact that you're using single-column indexes to do this points to why everything is slow.
The view part...
February 4, 2008 at 1:30 pm
Just so we can all get into the right habits - use the three-part names like Matt Stockham pointed to, but do so only in the FROM clause, assigning an...
February 4, 2008 at 12:09 pm
I usually bulk insert into a "real" table as you call them. Usually a "copy" of the real table (empty table with same DDL structure as the real one),...
February 4, 2008 at 11:20 am
What index are you using? Are you sure the compiler even used it?
All of the items to posted had the Top(N) syntax in it...
Without the RIGHT index (the one...
February 4, 2008 at 10:18 am
Thanks for the feedback - you're welcome:)
February 4, 2008 at 9:56 am
More often than not, this is caused by Access not being able to tell what constitutes the Primary Key of the new "linked tables".
Try opening the linked table...
February 4, 2008 at 9:36 am
Andy Warren (2/4/2008)
February 4, 2008 at 9:26 am
rolli (2/2/2008)
I tried this query
UPDATE detail_data1
SET time = DATEADD(ss,T.ID-DT.FirstID,GETDATE())
FROM detail_data1 AS YT
INNER JOIN detail_data1 AS T ON YT
INNER JOIN (
SELECT person_id, date, time, item, visit_id
FROM ...
February 2, 2008 at 10:29 pm
Viewing 15 posts - 4,906 through 4,920 (of 6,486 total)