Viewing 15 posts - 781 through 795 (of 13,878 total)
Not a dumb question at all. In my opinion, MS is not focusing at all on SSIS/SSAS.
If you have the choice of what to learn, Azure and DataFactory are the...
November 6, 2023 at 5:04 pm
Fair enough. I thought I had that error not long ago, and the reason was I had 'auto-pause' turned on for a particular Azure SQL DB and it had dozed...
November 6, 2023 at 4:45 pm
That looks like an Azure security error to me, not related to Schema Compare.
November 6, 2023 at 4:26 pm
Some practical examples of where Python beats standard SQL Server functions would be interesting. Or is this aimed simply at people who prefer writing their code in Python?
November 6, 2023 at 9:55 am
Is your question: "How do I create a report in Power BI which looks like my existing Excel solution?"
If so, it looks like a Paginated Report would be the...
November 4, 2023 at 12:04 pm
Try this:
(DT_DATE)(DT_DBDATE)DATEADD("m", -25, DATEADD("d", -DAY(GETDATE()) + 1, GETDATE()))November 2, 2023 at 4:25 pm
What do you mean by 'track', exactly? Insert details of change to an audit table? Use SQL Server's 'Change Tracking'? Send an e-mail alert? Something else?
November 2, 2023 at 4:07 pm
I suggest you create a query which includes a TRY_CAST to INT of the column of interest.
Use your existing WHERE clause, but add another condition
AND TRY_CAST(Col as INT) IS NULL
This...
November 2, 2023 at 3:18 pm
But its an Implicit conversion, wouldn't it be better to explicitly convert the value to Varchar.
Usually, I'd agree with you on explicit vs implicit conversions. But here is a...
November 2, 2023 at 10:50 am
BUT, that will only work if LEN(ValueID) <= 12 For longer strings, you will need to break ValueId into parts to match the GUID pattern
The value is actually...
November 2, 2023 at 10:25 am
The query I provided returns the result you requested. Why do you think that it is not correct?
November 2, 2023 at 9:16 am
You have a VARCHAR column containing string data. Some of the data can be converted to an INT and some cannot. What do you want to see in the cases...
November 2, 2023 at 9:13 am
Try this, noting that
a) Varchars should always be declared with an explicit length
b) When inserting literal varchars, surround them with single quotes
DROP TABLE IF EXISTS #test;
CREATE TABLE...
November 2, 2023 at 9:03 am
Based on this logic
If the memberid is active can be determined by not having any 'Cancelled' transtype
This is the code I would use
SELECT DISTINCT tm.grouingnum
FROM #testMember tm
WHERE...
November 1, 2023 at 8:55 pm
Is there any chance that you can provide some sample data (in the usual CREATE TABLE / INSERT form) and simply tell us what you would like to see as...
November 1, 2023 at 3:11 pm
Viewing 15 posts - 781 through 795 (of 13,878 total)