Viewing 15 posts - 4,006 through 4,020 (of 59,101 total)
you also can't have extra columns on the destination table
With the understanding that I've not read all the posts in this thread, you actually can. Then you can do...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 3, 2022 at 5:55 am
The first obvious question is why do you think a current receipt is a totally different kind of data element from a historical receipt?
I guess you've never heard of...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 3, 2022 at 5:49 am
Thanks Jeff and Grant for responding. I now have two articles waiting for Steve's approval.
Don’t know if those will make the cut. Let’s see.
As the old saying goes, "The...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 3, 2022 at 5:44 am
SQL Server does not all "FROM @FILENAME", only "FROM 'data_file_name'". Google the syntax of the command.
You'll need to use dynamic SQL if you want to feed in a...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 3, 2022 at 5:43 am
There is no need to use the old DATETIME...
That's what so many people say but that's seriously wrong. Although DATETIME doesn't meet some of the ISO 8601 standards,...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 3, 2022 at 2:57 am
Heh... it's why I complain... "A happy sailor is a bitchin' sailor". 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
February 3, 2022 at 12:15 am
To my kind respondents, thank you once again, but I think you're much too understanding towards Microsoft. Personally I'm not impressed.
Heh... Being one that doesn't have such a understanding...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 2, 2022 at 11:46 pm
DBATools.io has a nice function called Find-DbaDbDuplicateIndex (however it has IMHO aflaw and does not report IsUnique for an index, reporting duplicate indexes composed of the same column(s)...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 2, 2022 at 11:18 pm
I need to run powershell script which is located in other server, lets say server A .
I'm curious... what does the PowerShell script actually do?
--Jeff Moden
Change is inevitable... Change for the better is not.
February 1, 2022 at 11:37 pm
Hello,
I found couple of indexes which looks like duplicate indexes. Before dropping any duplicate indexes...is there any additional checks that should be done. please advise.
Index A on Table A...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 1, 2022 at 10:20 pm
While I agree that IIF is "foreign" to SQL, it is VERY short for 2 part CASE statements. As you know, it does resolve to a CASE statement behind the...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 31, 2022 at 6:27 pm
--...
ALTER DATABASE [DBNameToRestoreHere] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
ALTER DATABASE...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 31, 2022 at 6:05 pm
I hate Excel...If your cutting and pasting into excel from SSMS, you could be losing leading zeros. Usually the only time I do this is exchanging results among my...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 31, 2022 at 7:09 am
Bad criteria. Empty source table. Some error that allowed the creation of the table but no data to transfer. There are a ton of reasons but can't tell because not...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 31, 2022 at 6:58 am
I don't use availability groups but I can tell you that you're using what people recommend as supposed Microsoft "recommended" "Best Practices" for index maintenance. In fact, most of the...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 31, 2022 at 6:56 am
Viewing 15 posts - 4,006 through 4,020 (of 59,101 total)