Viewing 15 posts - 1,291 through 1,305 (of 13,849 total)
This won't fix the issue, but your query can be written more tidily as
SELECT TOP (1) logdate
,runnum
...
July 14, 2022 at 8:50 am
I'm sure that someone here would be able to help you, if you were able to provide sample data (in consumable form, ready for cut & paste into SSMS –...
July 13, 2022 at 6:31 pm
Thank you for your code. I tried it but I was am getting an error with Distinct_Department_Count. I am getting an invalid table name error.
Did you replace dbo.table_name with...
July 11, 2022 at 1:23 pm
Why is only one of the rows updated to include an asterisk in your example? What is special about that row?
If there was a row of data for department 0002...
July 10, 2022 at 10:38 am
1 million rows of data in a text file should load OK. Are you sure that the error you are receiving is as a result of file size and not...
July 10, 2022 at 10:32 am
You start off with a param called @StudentId, which then becomes '@@@StudentId' in your query. Why are you doing that?
Also, if your param is declared as VARCHAR(500), why are you...
July 10, 2022 at 10:29 am
I'm so sorry.
I didn't explain myself very good. I need to see the connections between tables.
Is it possible?
In Object Explorer, right click on any table and select 'View Dependencies'
July 7, 2022 at 1:05 pm
You did not respond to my previous post. Did my query work how you intended? Some feedback would have been polite.
But if it did, this version may give you what...
July 7, 2022 at 9:24 am
Not that it helps, but 18.12.1 is the current SSMS version, and the upgrade from the previous version did take longer than I expected.
July 7, 2022 at 9:18 am
If you are hoping to get this information by querying the ReportServer database, I think you are going to be disappointed. The connection string information is encrypted, with no supported...
July 6, 2022 at 9:01 am
Oops, time for more coffee.
July 5, 2022 at 10:31 am
Jonathan AC Roberts wrote:Yes, I wasn't really thinking about performance either as that wasn't mentioned in the question.
There is no question!
I took "I need to update my sql script...
July 5, 2022 at 9:34 am
Yes, I wasn't really thinking about performance either as that wasn't mentioned in the question.
There is no question!
July 5, 2022 at 9:24 am
Your suggested query should use UNION ALL rather than UNION (which applies an unwanted (in this case) 'DISTINCT' to the results returned). Only 'read' access is required for this query.
However,...
July 5, 2022 at 9:23 am
M can do it, but if you have hundreds of thousands of rows of data, it will take a while.
Are you just looking for help with the necessary M syntax?
July 5, 2022 at 8:30 am
Viewing 15 posts - 1,291 through 1,305 (of 13,849 total)