Viewing 15 posts - 2,941 through 2,955 (of 14,953 total)
I'm not sure what you mean about having an identity column in a text file.
Do you mean a row number?
If so, you can add that to the query pretty easily,...
November 3, 2011 at 11:42 am
Is that column from the table you're left-joining to?
If so, it needs to go in Join On clause, not the Where clause.
Otherwise, in the outer table with no match in...
November 3, 2011 at 11:41 am
The other thing to keep in mind is that the time results are likely from a test copy of the database. The production server is likely to have more...
November 3, 2011 at 11:18 am
Try setting the Transaction Isolation Level to Snapshot (if the database will allow that). That will help with blocking during that time.
November 3, 2011 at 11:14 am
If you have to use a cursor for this, make it STATIC instead of FAST_FORWARD. It'll probably be faster that way, and it will definitely release locks faster.
November 3, 2011 at 9:05 am
It's actually Intel's fault. Microsoft uses their terminology, because the versions actually correspond to those chip names.
There are 32-bit chips that aren't x86, and the software won't run on...
November 3, 2011 at 9:03 am
Try this, see if it does what you need. It seems to work on the sample data you gave me, but that's pretty limited.
SELECT ROW_NUMBER() OVER (ORDER BY...
November 3, 2011 at 8:45 am
If the TypeIDs in the first table were contiguous in the ID index on the second table, the scan would return just the range needed, but most likely, it's not...
November 3, 2011 at 6:33 am
sqlquest2575 (11/2/2011)
November 3, 2011 at 6:22 am
derek.waltho (11/2/2011)
November 3, 2011 at 6:19 am
After you restart the SQL Server service (either just the service, or rebooting the server), the database engine has to recache all its execution plans, recache data, etc. Pretty...
November 3, 2011 at 6:15 am
Yes, environmental knowledge is good, but if I have time to study something job-related, I'd rather spend it on something directly within the SQL Server domain. Better ROI on...
November 2, 2011 at 2:34 pm
Does the data in that column store decimal values, or just integers?
November 2, 2011 at 2:19 pm
Viewing 15 posts - 2,941 through 2,955 (of 14,953 total)