Viewing 15 posts - 256 through 270 (of 2,356 total)
Have you tried "Run as administrator"???
January 24, 2023 at 5:52 pm
Grant the account that cannot see the logs access to the folder where the logs are stored.
On my local machine, that's C:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL\Log
January 24, 2023 at 5:36 pm
I'm with Thom. Show us the rest of the query.
Even if a loop is used, why do is there a requirement for consecutive numbers? Instead of incrementing @VinCounter, query for...
January 23, 2023 at 5:24 pm
Here's an idea. Create multiple views that break the data in the large tables into smaller pieces. I think you can map these views to the destination table.
January 23, 2023 at 4:47 pm
Instead of changing the clustered index, can you add another index?
January 20, 2023 at 1:48 pm
Should it just be the SQL agent account or SQL service and SSIS account?
We do not know. You need to tell us.
What account is SQL Server and SQL Server...
January 19, 2023 at 2:44 pm
Should the account need access to any folders relating to SQL services specifically?
Yes. We have already said this.
January 19, 2023 at 1:58 pm
Hi
In case of SQL Server Failover Cluster we get sql server cluster log by executing command get-cluster log .
Can we get saem in case of alwasy-on log or there...
January 19, 2023 at 1:53 pm
Not sure if I have got the logic right, but please try this query:
SELECT CONVERT(CHAR(7),EOMONTH(J1.EntryDate)) AS Per, SUM(J1.RunTime) AS TReg, J2.TNQ
FROM Db1.dbo.WipLabJnl J1
OUTER APPLY (
...
January 18, 2023 at 9:52 pm
You also forgot to enclose your strings in single quotes.
January 18, 2023 at 9:08 pm
You are using a function in a predicate (e.g., where clause), rendering it non-sargable (can't use index).
Hmmm. Not that I can see.
January 18, 2023 at 9:05 pm
I tried both of your suggestion but I still didn't get the desired results. For the first one, I get something like
....
2019-08 3853.480000 ...
January 18, 2023 at 9:01 pm
Ok so the only possible issue is permissions are missing somewhere?
I have checked the file using notepad and any locations mentioned I have given full control so I am...
January 18, 2023 at 5:05 pm
I thought once the account is in the local admins group for the server it should have all the required access to SQL directories iswell
Not true.
Think about it. Your...
January 18, 2023 at 2:39 pm
Thanks for the response Michael. There are many more attributes in our customer table than just sales rep id. The customer surrogate key s/b the only key in the...
January 17, 2023 at 10:38 pm
Viewing 15 posts - 256 through 270 (of 2,356 total)