Viewing 15 posts - 526 through 540 (of 6,678 total)
HI Jeffery
I feel pretty dumb for not trying the disable. I did remove the DB's from the user on the primary and noticed that then they were removed from...
June 8, 2022 at 6:45 pm
Using Windows Auth - you don't need to create a login on the primary node, only the secondary node. Then - create the user in the database for that windows...
June 7, 2022 at 9:52 pm
Side note: take a look at DATEFROMPARTS and DATETIMEFROMPARTS instead of concatenating strings and converting to datetime. For example:
[Date] = DATETIMEFROMPARTS(year(DateOfServiceFrom), month(DateOfServiceFrom), 1, 0, 0, 0, 0)
Or...
June 7, 2022 at 9:49 pm
I don't know of any way to do what you are asking - nor would I even try doing that. I would look at ways to improve the performance of...
June 5, 2022 at 2:28 pm
There's gotta be a way to read the manifest of files from a zip file in SSMS. Almost everything else has that capability.
Not sure what you are getting at...
June 5, 2022 at 2:19 pm
If the database is FULL recovery, would it help to run t-log backups frequently during the process, to prevent a huge t-log ?
If copying to a new table -...
June 3, 2022 at 9:58 pm
The data in the log file is used to roll forward and/or roll back changes that were in progress during the backup. Once that process has completed - the log...
June 3, 2022 at 9:36 pm
I would probably set this up with 2 packages in the project. The first package uses a script task to traverse the folder(s) where the zip archives live - using...
June 3, 2022 at 9:32 pm
You could add them to the SQLAgentOperatorRole - that would allow them to start/stop local jobs. You really need to review this document: https://docs.microsoft.com/en-us/sql/ssms/agent/sql-server-agent-fixed-database-roles?view=sql-server-ver16
I would not - under any circumstances...
June 3, 2022 at 7:28 pm
One other note - if this was something I was developing I would not build this in T-SQL. I would use Powershell to get the list of instances and use...
June 3, 2022 at 4:22 pm
Are you looking at running this from an agent job or within a stored procedure? If so - then you need a linked server and you can either use 4-part...
June 3, 2022 at 4:20 pm
Yes - it can be done but you have to write some C# code in a script task to open the archive, loop through through the results - and extract...
June 2, 2022 at 8:49 pm
What I meant was after this file was generated I could alter the output to correct the issues. The initial creation of the file was some generated process from...
June 2, 2022 at 8:33 pm
Do all of the files have a similar issue? Perhaps you need to tweak the code to handle the anomalies. Frederico offered a hint about that above.
And, no......
June 1, 2022 at 7:20 pm
Another con is managing how long you keep history in the versioned table. There are several options available - and each one has significant requirements that need to be designed...
June 1, 2022 at 6:59 pm
Viewing 15 posts - 526 through 540 (of 6,678 total)