Viewing 15 posts - 4,156 through 4,170 (of 13,463 total)
to get a meaningful answer, you need to provide the CREATE TABLE definitions for Invoices and Payments, and the INSERT INTO statements for your data;
i see that you pasted some...
January 11, 2013 at 9:32 am
my outside of the box comment:
wouldn't it be better to tune the process that seems slow so that it performs better?
what is that process doing, and does it involve a...
January 11, 2013 at 5:40 am
dense_rank, like all the windowing functions like row_number,ntile and rank all start with one, so just add your some number to it to get your starting number
select
dense_rank() over...
January 11, 2013 at 5:36 am
there's a codeproject which adds a CDC equivalent to a standard edition SQL server installation you could look at as well:
it creates a utility schema instead of a cdc schema.
January 10, 2013 at 12:39 pm
i also remember that if you apply column level permissions to a table for user or group, and leave one of the columns /deny one of them, then select *...
January 10, 2013 at 12:31 pm
i think there's a couple of factors here:
queries and indexes need to be optimized, and people having permissions to do ad hoc queries when they are not supposed...
January 10, 2013 at 11:16 am
if you are getting "client not authenticated" , that means you already have connectivity to the mail server, because it's returning errors.
i think "client not authenticated" could mean one of...
January 10, 2013 at 6:34 am
i would go with one app=one database.
it sounds like they have four suites of tables related to a given functionality.
with the current planned design, at some point, you can be...
January 9, 2013 at 12:45 pm
grant has a great point about owning the code;
if i give you the code, your next questions are going to be "I have images in the database , how...
January 9, 2013 at 9:37 am
don't arbitrarily remove an application or code from doing the work for you; that is what they are designed to do.
the code to upload the images/blobs in a programming language(the...
January 9, 2013 at 8:15 am
nice effort!
just as a more streamlined form, you don't need a cursor to generate the same results:
you can do it as a single set based operation instead:
SELECT
object_schema_name(OBJECT_ID) as SchemaName,
object_name(OBJECT_ID)...
January 9, 2013 at 7:17 am
also, because of differences in the SQL engine's optimizer between versions, if you upgrade from 2005 to 2008R2 like you said, at a minimum you need to updating statistics,...
January 8, 2013 at 11:35 am
we'd need to see the actual execution plan to see if you can make it faster;
I think what Sean Lange referred to, you want to try and convert the ...
January 8, 2013 at 11:30 am
can you show us all the indexes on w_entity_document_test_new and the actual execution plan?
did your covering index include all teh columns in the query?
ie
CREATE INDEX IX_tezt
ON w_entity_document_test_new ...
January 7, 2013 at 7:47 am
Greg Snidow (1/4/2013)
Lowell (1/4/2013)
from that you change your query to select from that table,...
January 4, 2013 at 2:33 pm
Viewing 15 posts - 4,156 through 4,170 (of 13,463 total)