Viewing 15 posts - 226 through 240 (of 2,863 total)
My opinion - SQL is the wrong tool for the job. I would toss this into a tool that is designed for parsing Office documents such as SharePoint. IF that...
April 22, 2024 at 3:52 pm
Yes, that is what I was saying. Your command for setting the SQL string is wrong.
Again, I STRONGLY encourage you to re-evaluate your solution as I am not sure if...
April 22, 2024 at 2:22 pm
You day it is erroring, what is the error?
Also try printing you dynamic SQL before you run it so you can verify it is what you expect.
April 20, 2024 at 10:29 pm
Why would it? Your dynamic SQL starts with a select, so the quiet getting executed is a select. You would want something more along the lines of
Select...
April 20, 2024 at 1:44 pm
I think I misrepresented the "Database Owner" role and the database "owner". "Database Owner" is a role. The database "owner" is the person who created the database. Multiple people can...
April 19, 2024 at 3:16 pm
As a guess, I imagine a few joins could help and no loop would be required.
BUT It depends on how you designed things. Is that 4 tables? If so, I...
April 19, 2024 at 3:08 pm
It depends. Is your powershell script calling a SQL script to handle the backups or are you using a 3rd party backup solution or powershell itself for the backups.
My approach...
April 19, 2024 at 2:54 pm
Actually Application is stable and live since many years and such kind of issue happened only few times. I am still trying to find anyway I can see the...
April 19, 2024 at 2:49 pm
Yes, my bad, but on the other hand when one 1 person works on one DB is not going to be able to run multiple Queries, usually you are...
April 19, 2024 at 2:34 pm
Looks like you are going to need to use dynamic SQL and you are going to have a bad time with that I fear. Why? because what happens if someone...
April 17, 2024 at 8:50 pm
With regards to your "what can a database owner" do, google is your friend there. But to summarize, DBO can do anything on the database level. You can access and...
April 17, 2024 at 8:47 pm
Each INSTANCE of SQL Server would have it's own tempdb. I think Martin's suggestion was to have a single INSTANCE with multiple DATABASES. This would end up sharing the same...
April 17, 2024 at 8:02 pm
My opinion - where I work we started with the development team being in a room on their own with low noise (little bit of chats between the 20-ish developers...
April 17, 2024 at 2:57 pm
If I had to guess, whoever designed that was truncating the table then looking at the statistics for that table and seeing that the statistics indicated there were rows in...
April 17, 2024 at 2:37 pm
I am 99.9999999999% sure that the problem is not on the SQL side - that is an application bug. SQL takes a query and provides results. There is literally no...
April 17, 2024 at 2:21 pm
Viewing 15 posts - 226 through 240 (of 2,863 total)