Viewing 15 posts - 136 through 150 (of 476 total)
It might help to create VIEWs on old tables, with the column names for the new tables. Then you can
INSERT INTO NewTable
SELECT NewColumn1, NewColumn2, ...
FROM NewViewOnOldTable
If the mapping is...
October 27, 2015 at 10:05 am
Don't think DATEFROMPARTS() was available in SQL 2008? but for later versions I would use
DECLARE @StartDate DATE = '01/01/15';
SELECT DATEFROMPARTS(YEAR(@StartDate)-1, 11, 6);
which avoids all the ambiguity of "nn/nn/nn" style string...
October 26, 2015 at 11:54 am
I've mentioned before, but my view is that more modern forum software is required - not just for SPAM but many things that would bring benefit to regular posters and...
October 26, 2015 at 8:53 am
Ah, OK. So for example a Month End routine is done in the APP and the backup needs to be at that exact moment in time.
This is a bit of...
October 26, 2015 at 7:14 am
Interesting point, and I can see how reducing data volume would improve performance.
For us, we concentrate on only transferring rows that have changed. Network transmission time is our slowest component...
October 26, 2015 at 7:06 am
Why do you need to prevent changes during the backup? The backup will be transactionally complete, regardless of whether there are changes made during the backup, or not.
If you...
October 26, 2015 at 6:30 am
Jayanth_Kurup (10/25/2015)
October 26, 2015 at 3:52 am
Jayanth_Kurup (10/25/2015)
xsevensinzx (10/24/2015)
A staging table is where the TRANSFORM happen in ETL process , it is never meant to be backed up.
In our case we only transfer new-since-last-time data. This...
October 25, 2015 at 11:12 am
I CUT my reply, press BACK, press QUOTE and then PASTE my reply into that box.
I press the [+] at the right end of the "Last 10 Posts In Descending...
October 21, 2015 at 1:14 am
We do have Source Control, but each SProc / Trigger / View is in a separate file, so perhaps similar to your "Attached to tickets or on a fileshare"
We have...
October 20, 2015 at 8:40 am
I found this article interesting, it shows some stats for how data breaches were much larger than originally estimated / reported
http://qz.com/517649/never-trust-the-first-number-announced-in-a-data-breach/[/url]
October 20, 2015 at 1:00 am
Sergiy (10/19/2015)
Make sure you have a clustered index on "record date time" column.
I would only re-create a clustered index if there isn't one already - any existing clustered index...
October 20, 2015 at 12:50 am
david 70530 (10/19/2015)
How can I make it convert the ones it can't and just leave the others blank or skip them?
update hourly
set date_time= try_parse(date_time_txt as datetime2)
-- WHERE NullIf(date_time_txt, '') IS...
October 20, 2015 at 12:44 am
Eric M Russell (10/19/2015)
it's indicative of poor ETL processing or poor data modeling. I mean, why insert something and then delete it?
Pah!
We have Archive tables on almost every table in...
October 20, 2015 at 12:36 am
Lynn Pettis (10/19/2015)
October 20, 2015 at 12:32 am
Viewing 15 posts - 136 through 150 (of 476 total)