Viewing 15 posts - 106 through 120 (of 153 total)
Another USe case.
I have multiple parameterized SP for our Application.
When I Executes those SP individual it will returns output within 1 Sec. But when we are running Test Load...
July 27, 2020 at 10:39 pm
This is probably a couple of stupid questions that shows my ignorance, but if you never ask how will you learn... π
July 27, 2020 at 7:39 pm
Not to be left out, here's my take on a possible solution: π
DROP TABLE IF EXISTS #testdata;
CREATE TABLE #testdata -- Source data structure as specified by OP...
(
...
July 23, 2020 at 6:56 pm
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
Viewing 15 posts - 106 through 120 (of 153 total)