Viewing 15 posts - 1,621 through 1,635 (of 13,849 total)
Does table 2 contain any data currently?
If you need to control the value of EmpNo in table2, you should set it to be an INT, but not an IDENTITY.
Can you...
January 4, 2022 at 3:40 pm
Try this
SELECT customer_name
,order_id
,status = (CASE
...
January 4, 2022 at 10:53 am
CONCAT is not a safe way to do this because different values could appear to be the same.
Do all the columns have to match? Or just some?
For now, I'll...
January 4, 2022 at 10:49 am
ok thank you, will see what the service broker can do.
Jeff's queueing idea is the way I would do it.
January 4, 2022 at 10:42 am
Doesn't feel like a 'nice' solution, but this might do it.
DROP TABLE IF EXISTS #t;
CREATE TABLE #t
(
Id VARCHAR(100)
,C1 INT
...
January 3, 2022 at 7:12 pm
Use STRING_AGG(). This might work (difficult to test without DDL and sample data):
SELECT distinctid = STRING_AGG(AtcCode, ',')
,Atc_Text
FROM dbo.Drugs_BasicData d
...
January 3, 2022 at 11:29 am
MicrosoftSQL Server Integration Services (SSIS) is a platform for building high-performance data integration solutions, including extraction, transformation, and load (ETL) packages for data warehousing.
What's your point and how does...
December 31, 2021 at 11:23 am
(Please note that I have not yet performed a migration of SSISDB to 2019, so my comments are educated guesswork.)
I think you may have already identified the reason for the...
December 30, 2021 at 1:38 pm
The syntax you used in your post is the syntax I would use for selecting only those rows where all three conditions are satisfied.
SELECT ...
FROM ...
WHERE condition1...
December 23, 2021 at 4:48 pm
I really doubt it. Show us your WHERE clause, please, plus a sample of the data which is selected which you say should not have been.
December 23, 2021 at 4:27 pm
OK, that makes it more tricky. It should be possible to extract those connection strings into a package-scoped variable, but I think you would need to add a Script Task...
December 22, 2021 at 5:25 pm
Can you explain the ordering logic, please?
December 22, 2021 at 2:50 pm
Something like this? It makes a few assumptions about how your data is ordered. What is the PK of this table?
WITH ordered
AS (SELECT a.enddate
...
December 22, 2021 at 10:41 am
OK, let's assume that the ExecutionMode parameter is set up.
Let's also assume that you have two connection string parameters set up:
ConnectionD and ConnectionM
These are passed into the package at run...
December 22, 2021 at 7:36 am
Viewing 15 posts - 1,621 through 1,635 (of 13,849 total)