Viewing 15 posts - 1,366 through 1,380 (of 13,838 total)
I suspect that you'll need to upgrade your VS version to match or exceed the SQL Server version (ie, 2019 or 2022).
June 8, 2022 at 8:11 am
thanks Phil! I appreciate the quick response, please understand if I'm asking on a forum it's because I have tried to resolve it first and then subsequently trolled through...
June 7, 2022 at 4:02 pm
SELECT ...
FROM ...
WHERE DATEADD(WEEK, 4, appl_CreatedDate) <= appl_ConversionDate;
June 7, 2022 at 3:44 pm
You've stated a requirement without asking a question.
June 7, 2022 at 3:38 pm
Can you explain why the global temp table is a better option than a permanent staging table? That's not clear from your explanation.
June 6, 2022 at 2:21 pm
As far as I know, a global temp table remains in scope as long as the SPID which created it remains active. So you are likely to get conflicts if...
June 6, 2022 at 1:42 pm
Here's a revised version. Note that the CREATE TABLE and INSERTs should usually be done by the person posting the question – I'm helping you out because because you're new...
June 2, 2022 at 1:26 pm
Here is the tricky part done. All you need to do is JOIN from the final query to your Ref table to get the 'Month'.
DROP TABLE IF...
June 2, 2022 at 7:50 am
Try this:
SELECT VID
,OrdDate
,CResult = MAX(IIF(QID = 'C Result', Response, NULL))
,RAScore = MAX(IIF(QID = 'RA Score', Response, NULL))
...
June 1, 2022 at 6:33 pm
There is a fundamental problem with this – SSIS is a server-based technology and therefore cannot practically be used interactively, except during development.
June 1, 2022 at 4:44 pm
Can you also post an image showing the results you would like to see, based on this data?
June 1, 2022 at 4:42 pm
The following expression returns 20220501 if FileCode = 1, and an empty string otherwise.
@[User::FileCode]==1?token(@[User::FileName], "_", 4) : ""
May 26, 2022 at 2:05 pm
If the file name is "ImportFile_UK_DumpXX_20220501", what exactly do you want the expression to return?
If FileCode <> 1, what do you want the expression to return?
May 26, 2022 at 12:41 pm
Yes, I agree that a Foreach loop (FEL) with an object variable sounds like the way to go.
Is there really a direct mapping between the package names and the table...
May 24, 2022 at 2:51 pm
ON (1 =1) is unusual JOIN syntax – can you explain what you want it to do?
May 19, 2022 at 3:17 pm
Viewing 15 posts - 1,366 through 1,380 (of 13,838 total)