Viewing 15 posts - 3,556 through 3,570 (of 13,855 total)
I understand the concept but not how it applies to the situation I'm working with. Suppose today I create a new target table with the VersionCol field you explained...
June 5, 2019 at 7:56 pm
Have a look at this link for a far better example than mine!
June 5, 2019 at 7:23 pm
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
Viewing 15 posts - 3,556 through 3,570 (of 13,855 total)