Viewing 15 posts - 241 through 255 (of 285 total)
Just a thought... have you tried to change the driver on your connection in the package?
If you're using OLE DB, then you're most likely using the old "SQL Server Native...
July 23, 2020 at 12:05 pm
I don't know that we know that it's Social Security Numbers in clear text, do we? We only know that the name of the column is SSN, I think. It...
April 20, 2020 at 4:08 pm
This would return NULL if the SSN existed only in the third table (for example). Not what the OP requires, I believe.
Yes, well that's the question, isn't it? I wouldn't...
April 20, 2020 at 3:37 pm
I shouldnt have a problem joining the tables but my main concern was when i get to the end and write the where filter clause do I have to ask...
April 20, 2020 at 2:52 pm
hmmm... I would probably use a Derived Column transformation:
(DT_NUMERIC,20,2)(REPLACE(REPLACE([EuropeanVarcharAmount],".",""),",","."))
or something like that...
November 5, 2019 at 7:18 pm
An example of a Stored Procedure where an output parameter could be used would be where the caller request a dataset be returned based on some input parameters, but at...
July 19, 2019 at 9:45 am
One must apparently be very careful with certain words here. I posted a reply which I subsequently edited to include a comment about me a busing (one word) CROSS APPLY...
June 28, 2019 at 4:02 pm
;WITH myTable AS (SELECT * FROM (VALUES ('3#5'),('8063#0018375'),('8063#018375'),('063#018375'),('063invalid018375')) X(AccountNumber))
SELECT
t.AccountNumber,
lrp.LeftMostAccountNumberPart,
lrp.RightMostAccountNumberPart,
fp.AdjustedAccountID
FROM myTable t
CROSS APPLY (
SELECT
CHARINDEX('#', t.AccountNumber) AS sepPos,
LEN(t.AccountNumber) AS accLen
) sp
CROSS APPLY (
SELECT
RIGHT('0000'...
June 28, 2019 at 3:52 pm
;WITH myTable AS (SELECT * FROM (VALUES ('3#5'),('8063#0018375'),('8063#018375'),('063#018375'),('063invalid018375')) X(AccountNumber))
SELECT
t.AccountNumber,
lrp.LeftMostAccountNumberPart,
lrp.RightMostAccountNumberPart,
fp.AdjustedAccountID
FROM myTable t
CROSS APPLY (
SELECT
CHARINDEX('#', t.AccountNumber) AS sepPos,
LEN(t.AccountNumber) AS accLen
) sp
CROSS APPLY (
SELECT
RIGHT('0000'...
June 28, 2019 at 3:29 pm
I'm guessing this has to do with the new Cardinality Estimator that was introduced with SQL Server 2014.
We've seen some strange goings on with this feature if the statistics aren't...
June 20, 2019 at 3:19 pm
Never done it, but if you have CLR enabled, you might be able to use that instead of the old VBScript functions.
https://sqlsunday.com/2013/03/03/web-requests-using-clr-proc/
March 21, 2019 at 3:52 am
March 15, 2019 at 1:36 pm
January 25, 2019 at 4:02 am
January 18, 2019 at 1:49 am
Sorry, but your story comes accross more like one of bad management style than one about a team member behaving badly to disappointment over his role in a project.
May 14, 2018 at 1:46 am
Viewing 15 posts - 241 through 255 (of 285 total)