Viewing 15 posts - 3,586 through 3,600 (of 13,882 total)
It's not the same, see the following example:
DROP TABLE IF EXISTS #Source;
CREATE TABLE #Source
(
CrapId INT PRIMARY KEY CLUSTERED
,VersionCol ROWVERSION NOT...
June 5, 2019 at 7:16 pm
Please do not cross-post. Answers here, please.
June 5, 2019 at 4:40 pm
Phil - From what I'm reading about RowVersion, that could be a potential solution going forward but won't help looking back at all of the archived tables to determine...
June 5, 2019 at 4:38 pm
When thinking about it a little differently I have another question. Suppose a daily file with the same structure (300 columns, 3 million rows, and no last modified date...
June 5, 2019 at 4:37 pm
Are you using an OLEDBCommand task to do this? These are notoriously slow, because they process one row at a time, and I recommend that you re-engineer this as follows:
June 5, 2019 at 4:34 pm
Is there any possibility that you could add a RowVersion column to your source table?
This, in combination with your PK, should allow you to identify rows which contain one...
June 5, 2019 at 3:36 pm
...
all of our guys have the redgate tools, if you write a "Select * into", hover over it, then it will allow you to generate a CREATE #Table script...
June 5, 2019 at 2:14 pm
Are there any functions, views or stored procedures in the DB?
If these were written by someone who knows the schema, you may be able to glean some ideas about the...
June 5, 2019 at 1:55 pm
I hate "where 1=0" - I ..use "where @debugmode=1" and pass that in as a parameter. the number of times one of my devs has hardcoded "where 1=2"...
June 5, 2019 at 1:48 pm
Could you use two copies of each table and use synonyms to switch to and fro' every day?
The users query the data using the synonyms & have no need to...
June 5, 2019 at 1:45 pm
Shifting gears for a minute... does anyone have experience with BitBucket (source control) and Jira? Rumor has it that they integrate seamlessly but have zero experience with either so...
June 4, 2019 at 7:04 pm
Your OrderRules table should be normalised.
OrderRulesId, AccountId, AllowedState
(One row per allowed state, per account.)
(State could, and probably should, also be normalised.)
With this in place, everything becomes much easier.
June 4, 2019 at 6:56 pm
I don't think so.
Can you describe the reasons you think that this would be helpful to you?
June 4, 2019 at 4:42 pm
IF TOTAL_BILL_AMT_PROD = NULL THEN NULL ELSE (TOTAL_BILL_AMT - TOTAL_BILL_AMT_PRD = O then 0 Else 1 ) ISNULL(TOTAL_BILL_AMT_PRD) == ""? NULL(DT_STR, 4, 1252) : ((DT_NUMERIC,10,2)TOTAL_BILL_AMT_PRD - DT_NUMERIC,10,2)TOTAL_BILL_AMT == 0...
June 4, 2019 at 4:26 pm
What does adminstroedproc do? Or should it be adminstoredproc ?
Is it returning anything? Presumably not, otherwise I would suggest using WITH RESULT SETS, which is the usual way of solving...
June 4, 2019 at 3:44 pm
Viewing 15 posts - 3,586 through 3,600 (of 13,882 total)