Viewing 15 posts - 7,996 through 8,010 (of 59,072 total)
Bah! It's just not worth it. You can't add a default column to Temporal Tables. You can't add a column to the History table without adding it to the main...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 31, 2019 at 4:39 am
Crud. I was afraid of that. The dynamic SQL cannot see the INSERTED/DELETED tables, either. I could copy the INSERTED table to a temporary table or table variable but that's...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 31, 2019 at 2:26 am
p.s. I wish they'd fix the bloody code windows for color on SSC. It would be better if they simply rendered out as all black rather than serious color mistakes...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 31, 2019 at 1:51 am
That works great but only if that's the only UPDATE trigger on the table. Here's a test that shows that even though the value of some columns hasn't been changed,...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 31, 2019 at 1:49 am
If I had to do this on a regular basis and couldn't simply do a restore (because of PII of the data simply being too large for a Dev environment,...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2019 at 6:12 pm
My apologies. You're correct. You didn't mention Excel anywhere. My old sometimes caffeine deprived eyes misread it that way.
Going back to the beginning, you stated that the file had both...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2019 at 6:05 pm
My apologies, Scott. I wasn't clear. In this particular case, I was referring mostly to solving the problem of having a column that identifies who did the update without the...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2019 at 5:46 pm
Trying to get this thread back on track for your original question... is there an answer to my inquiry so we can get busy with answering your question with...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2019 at 4:36 pm
Can confirm with Jeff, sorry if I sounded a bit salty up there 🙂
You have nothing to apologize about. I appreciated the humor about the # sign. I've never...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2019 at 4:33 pm
I've had to use "extension" tables here a few times too, for various reasons.
If you have an identity column present, do remember / be aware of the issues with...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2019 at 4:19 pm
Thanks Neil,
I assumed this level of disdain, to those less experienced, had disappeared twenty years ago from technical forums - apparently not.
I will not be asking too many questions...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2019 at 4:12 pm
>> Why can I not create a new column and add 90 days to the date in column P_INDATE in MS SQL Server? <<
Why don't you put this computation...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2019 at 5:07 am
Ah... and just noticed... you said your boss is using the import EXCEL wizard in your last post, which is different than your first post. Which is it??? EXCEL or...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2019 at 4:45 am
What you have posted in the image of your original post should do it. I'm kind of confused, though. You were right there or you wouldn't have been able to...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2019 at 4:43 am
I'll be back.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2019 at 4:01 am
Viewing 15 posts - 7,996 through 8,010 (of 59,072 total)