Viewing 15 posts - 1,066 through 1,080 (of 13,838 total)
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
Maybe like this:
DROP TABLE IF EXISTS #SomeData;
CREATE TABLE #SomeData
(
Name VARCHAR(50)
,Value VARCHAR(50)
);
INSERT #SomeData
(
Name
,Value
)
VALUES
('A', 'X')
,('A',...
October 24, 2022 at 7:44 am
Viewing 15 posts - 1,066 through 1,080 (of 13,838 total)