Viewing 15 posts - 3,571 through 3,585 (of 13,855 total)
IF TOTAL_BILL_AMT_PROD = NULL THEN NULL ELSE (TOTAL_BILL_AMT - TOTAL_BILL_AMT_PRD = O then 0 Else 1 ) ISNULL(TOTAL_BILL_AMT_PRD) == ""? NULL(DT_STR, 4, 1252) : ((DT_NUMERIC,10,2)TOTAL_BILL_AMT_PRD - DT_NUMERIC,10,2)TOTAL_BILL_AMT == 0...
June 4, 2019 at 4:26 pm
What does adminstroedproc do? Or should it be adminstoredproc ?
Is it returning anything? Presumably not, otherwise I would suggest using WITH RESULT SETS, which is the usual way of solving...
June 4, 2019 at 3:44 pm
Please also try this ... you shouldn't need those casts:
TOTAL_BILL_AMT - TOTAL_BILL_AMT_PRD == 0 ? 0 : 1
June 4, 2019 at 3:46 am
What are the data types of TOTAL_BILL_AMT and TOTAL_BILL_AMT_PRD within the data flow?
Also, try removing the quotes throughout the expression – if the 0, 0 and 1 are supposed to...
June 4, 2019 at 2:26 am
Is this as part of a data flow? If yes, add a derived column to your data flow and put the calculation in there.
ExecuteSQL tasks do exactly what they say...
June 3, 2019 at 9:56 pm
i think you need to execute a script after the dacpac deployment. a dacpac will create tables and objects, but there's no scripting involved, so no, no script can...
June 3, 2019 at 9:16 pm
I cannot see how executing a SELECT query in a post-deployment script will achieve anything useful. Where are you expecting the SELECTed data to go?
June 3, 2019 at 9:10 pm
And I just logged in to respond to your original message! 🙂
June 3, 2019 at 2:21 pm
How can we resolve this issues without changing any code?
Your options are limited.
Reducing the length of one or more of the underlying table columns is the best idea that comes...
May 31, 2019 at 12:48 pm
there are thousands . . . . can I exclude them in the where clause by using WHERE LEN(PROD_ID) - LEN(REPLACE(PROD_ID, '-', '')) > 1 ??
That's how...
May 30, 2019 at 11:00 pm
I get that error when i run my code against a very large table. Most Prod_IDs have two dashes. I want to pull the value between the dashes. This...
May 30, 2019 at 10:50 pm
SELECT ...
FROM ...
WHERE @SomeTime >= StartTalk AND @SomeTime <= EndTalk
May 30, 2019 at 4:31 pm
Try this
DROP TABLE IF EXISTS #SomeTable;
CREATE TABLE #SomeTable
(
Id INT
,EventId INT
,A VARCHAR(20)
,B VARCHAR(20)
...
May 29, 2019 at 10:49 pm
I didnt find an option in sql server management studio to generate insert scripts for data from an existing table.
There is an option, but it's well...
May 29, 2019 at 10:32 pm
Can you briefly explain why this is required?
And if there are three rows of source data, what do you want to see?
May 29, 2019 at 10:24 pm
Viewing 15 posts - 3,571 through 3,585 (of 13,855 total)