Viewing 15 posts - 706 through 720 (of 13,841 total)
If you are familiar with PowerQuery, another possibility would be to create another spreadsheet which consumes the data from the original spreadsheet and does some manipulation in the process. Your...
November 29, 2023 at 3:38 pm
UPDATE MM2WO
SET sDesc = TRANSLATE(sDesc, '&<!>!-=', ' ')
WHERE ...https://learn.microsoft.com/en-us/sql/t-sql/functions/translate-transact-sql?view=sql-server-ver16
TRANSLATE not available in 2016.
November 28, 2023 at 7:04 pm
Jeff - that's what I am doing now, just using Replace(). I wanted to know if there was a better way to do it and so far it looks...
November 28, 2023 at 9:35 am
Neat solution, but I disagree with this comment:
it happens often that you need to save a list of single values/parameters that are valid, temporarily or stably, for the whole application.
In...
November 27, 2023 at 11:11 am
It's an ungainly piece of code, but I think it gets the right results.
SELECT ssh.id
,ssh.OrderNumber
,ssh.RelayPoint
...
November 25, 2023 at 11:43 am
Sorry to keep modifying this response. It's taken me a while to formulate a question I am happy with.
In your sample results, we see XN78/980.
The latest row for this combination...
November 23, 2023 at 1:26 pm
Yes it should be possible.
(condition 1) && (condition 2)
November 21, 2023 at 9:28 am
I have a query in mysql I have created a account with test@localhost and i want to access the particular database where I have given access to the db...
November 20, 2023 at 5:21 pm
Sure you can. If you add this WHERE clause to my query, it excludes any rows containing invalid JSON:
WHERE ISJSON(sd.SomeCol) = 1;
If you want to identify the...
November 20, 2023 at 1:38 pm
Why not just make a backup of demo_1 and restore it over the top of demo_2?
November 20, 2023 at 1:32 pm
Something like this?
DROP TABLE IF EXISTS #SomeData;
CREATE TABLE #SomeData
(
SomeCol NVARCHAR(MAX)
);
INSERT #SomeData
(
SomeCol
)
VALUES
('{"changedAttributes":[{"logicalName":"line1","oldValue":"street1","newValue":"street2"},{"logicalName":"city","oldValue":"City1","newValue":"City2"},{"logicalName":"phone","oldValue":"123","newValue":"345"}]}');
SELECT sd.SomeCol,oj2.*
FROM #SomeData sd
CROSS APPLY OPENJSON(sd.SomeCol) WITH (changedAttributes NVARCHAR(MAX)...
November 20, 2023 at 11:53 am
Add a derived column in the dataflow and set its value to the variable. It will be available for mapping.
November 17, 2023 at 11:31 pm
Fed? Brain? I hate to think what you would call me.
November 16, 2023 at 4:51 pm
OK, my point was that if the Code is already a candidate key in a table, why not throw away the Id and make Code the clustered PK? Could give...
November 15, 2023 at 5:37 pm
Do the Id columns in these tables perform any useful function? Based on what you've posted so far, it looks like there's an argument for removing them ... or maybe...
November 15, 2023 at 5:23 pm
Viewing 15 posts - 706 through 720 (of 13,841 total)