Viewing 15 posts - 2,146 through 2,160 (of 13,874 total)
With >2,000 points, you should know how to submit formatted SQL by now.
CREATE VIEW dbo.vwTEST --
AS
WITH t
AS (
SELECT er.Ece_ID
...
April 5, 2021 at 7:41 am
Hi Phil,
That's exactly what I was looking for!
I did find the Profiling Node in SSIS which gave me similar stats to what you extracted in Python.
I also like the...
April 1, 2021 at 9:02 am
As far as I know, there is no fixed way of doing this.
I used to have a series of files which were loaded every month and we had to be...
March 31, 2021 at 10:26 am
I don't know the answer, but may have an alternative solution.
Use a Conditional Split to redirect rows which you do not want, by sending them to an unused output.
Your Script...
March 31, 2021 at 9:37 am
Thank you.
But i would like to use the function "len".
if the len(id) = 14 then it should be in ID1 otherwise it should be in ID2.
Can we achieve it...
March 30, 2021 at 4:17 pm
SELECT e.Firstname
,e.Lastname
,ID1 = MAX(e.ID)
,ID2 = MIN(e.ID)
FROM dbo.Emptable e
GROUP BY...
March 30, 2021 at 4:00 pm
I would like to display the result in single row like below based on len(id) column.
What does 'based on' mean here?
Where are your sample DDL and INSERT statements?
March 30, 2021 at 3:37 pm
SOX requirement, by any chance?
What is your data source?
March 30, 2021 at 10:52 am
Are they logged in using Windows auth? SSIS does not like SQL Server auth very much.
March 29, 2021 at 7:26 pm
Are you talking about INSERTS only, or also UPDATES and (maybe) DELETES?
SSIS can probably do it (depending on your answer to the above and the existence of columns such as...
March 26, 2021 at 3:54 pm
Can you provide some code that demonstrates the problem, which we can run for ourselves?
March 26, 2021 at 7:07 am
Maybe you could add
UNION ALL
SELECT 0
,NULL;
to the end of your query. Then a (0,NULL) row will always appear in your results.
March 25, 2021 at 5:12 pm
I'd add a 'make sure you take a copy of the DTSX file before editing' warning to this. Do it wrong and it will no longer open in SSDT. Of...
March 25, 2021 at 8:50 am
If you told us the text of the error message it might help.
March 19, 2021 at 2:03 pm
I think it's just a matter of adding this to the end of your query
ORDER BY SubQuery.department,SubQuery.myrank
I had assumed that the DENSE_RANK() was there for a reason! If your...
March 18, 2021 at 1:52 pm
Viewing 15 posts - 2,146 through 2,160 (of 13,874 total)