Viewing 15 posts - 3,121 through 3,135 (of 13,855 total)
its requirement.
Well, unless there are valid reasons, it's a dumb one.
November 21, 2019 at 6:24 pm
Why not just use MERGE? No triggers are required.
November 21, 2019 at 6:07 pm
Hi there
Is there a way that I can capture an output variable from a SQLCMD Script?
For example:
Declare @Today dateTime
set @Today = GetDate()
What is this an example of?
Isn't this post...
November 21, 2019 at 5:23 pm
How many occurrences do you wish to handle? What do you want the output to look like?
November 21, 2019 at 1:45 pm
As you did not provide detailed DDL, INSERT and desired results, I've had to guess. Does this help?
DROP TABLE IF EXISTS #t1;
CREATE TABLE #t1
(
...
November 21, 2019 at 1:34 pm
Is there a way around this?
Change the package / config so that the connection uses the credentials you want it to use.
November 20, 2019 at 8:39 pm
Are you certain that the SSIS package is executing in the context of the Windows user you are expecting?
Please check the All Executions report to verify this (look for the...
November 20, 2019 at 7:47 pm
Try running this on your sample data ... it performs the split for you:
SELECT m.ID
,REPLACE(REPLACE(REPLACE(ss.value, '"', ''), '[', ''), ']', '')
FROM...
November 20, 2019 at 3:51 pm
For info, here is the original code, formatted and pasted directly from VS:
IF
(
SELECT FormType = LTRIM(RTRIM(ISNULL(f1, '') + ISNULL(f2, '') + ISNULL(f3, '')))
...
November 20, 2019 at 1:37 pm
A Script Component source would be the way to go, in my opinion, not a Script Task.
It needs to read the file (just one row, based on your example) and...
November 19, 2019 at 7:13 pm
As Thom suggested, having | as both row and column delimiter is going to confuse the hell out of SSIS and I'd not expect you to have any success doing...
November 19, 2019 at 6:19 pm
My Row Delimeter is {CR}{LF}
Format - Delimited
Text Qualifier as None
Header RowDelimeter - {CR}{LF}
Header rows to skip 0
columns names in the first data row box is unchecked.
So now you see...
November 19, 2019 at 6:05 pm
That's more than four columns. What is your row delimiter?
--Edit: I seem to have regurgitated Thom's first few words almost verbatim, apologies! But these are critical questions
November 19, 2019 at 4:49 pm
You mentioned an UPDATE query, yet table 3 contains no data (and therefore no amount of UPDATE queries will help). Are you sure that your test data is up to...
November 19, 2019 at 1:34 pm
Viewing 15 posts - 3,121 through 3,135 (of 13,855 total)