Viewing 15 posts - 1,066 through 1,080 (of 13,841 total)
If a column contains a non-numeric character, do you want to treat it is zero? If not, what?
Have you investigated TRY_CAST()?
Remember that the numeric datatype has both a size and...
November 4, 2022 at 2:43 pm
You need to install SSDT and then add the 'SQL Server Integration Projects' extension.
November 4, 2022 at 7:41 am
This looks like a duplicate of https://www.sqlservercentral.com/forums/topic/validate-result
November 3, 2022 at 3:52 pm
Thanks for this Response. I have come across this link but not clear how to deploy multiple DACPACs for multiple databases.
Multiple calls to sqlpackage.exe, with as many different source/target...
November 3, 2022 at 3:48 pm
If you want a coded solution, please provide DDL, INSERT statements, desired results etc. You know the drill.
November 3, 2022 at 2:46 pm
I work on sql server 2019 i have issue i can't get percentage of two string from table
so i will compare between two string columns (PartText,MaskText) and i will...
November 3, 2022 at 9:52 am
One of the arguments for the SQLPackage command line (link) when Publishing a DB is TargetDatabaseName. Using this, it's quite straightforward to deploy the same DACPAC to multiple databases.
November 2, 2022 at 9:20 pm
The enable_ordinal argument for STRING_SPLIT is not implemented in 2019.
November 2, 2022 at 3:49 pm
Here is one way. It assumes that none of the partner_name columns are NULL – some JOIN tweaking may be required if they are.
DROP TABLE IF EXISTS...
November 2, 2022 at 11:30 am
Jonathan, I'm going to try your suggestion. I don't think it will work because it should be splited after ' - ' always and show me everything after that...
November 2, 2022 at 11:13 am
Using Jonathan's test data, here is the STUFF() version.
WITH cte
AS (SELECT *
FROM
(
...
November 2, 2022 at 11:11 am
Which tools and what sort of data?
October 26, 2022 at 1:47 pm
Reminder... STRING_AGG() wasn't available until 2017. The OP posted in a 2016 forum.
Thanks, Jeff, I should have checked that!
October 25, 2022 at 10:07 am
You also need to install SSDT for VS 2017 (standalone installer).
October 24, 2022 at 3:13 pm
Have you tried using an unambiguous date format?
'2021-11-01 00:00:00.000'is ambiguous withdatetime. Try'2021-11-01T00:00:00.000'or just'20211101'.
Well spotted!
October 24, 2022 at 12:57 pm
Viewing 15 posts - 1,066 through 1,080 (of 13,841 total)