SSIS Security concerning the File System, Execute Process, and Script Tasks
I don't work with SSIS, so please pardon my extreme ignorance. My Yabingoolehoo isn't so hot on this particular subject. :blush:I was reading the following recent article...
View ArticleI want get html report from log shipping
I want to get HTML report from log shipping, here is my script... please modify it ##setup data source$dataSource1 = "MANU\PRACTICE" ##SQL instance name$database1 = "MASTER" &n
View ArticleCluster with different versions- 2016 and 2014
It's a bit unusual case, I know. We have sql server 2016 cluster (2 nodes, windows 2012) with 2 instances running (i.e. Act/Act). Request is to add one more instance but 2014 (same edition- Ent). Why?...
View Articleviews,tables,stored procedures are rolled back to previous versions
Hi,I have observed that some of the views,tables,stored procedures are rolled back to previous versions .Need to find how those objects modified.any suggestions please.Thanks.
View ArticleCreate SQL Jobs using TFS project
Dear all,I have a TFS project that generates jobs. Code sample below:[code language="sql"]
View ArticleTransactional replication - which articles caused the failure
HiI have a Push Transactional replication process. I use the GUI to add multiple stored procs as articles. But during the sync process to the subscriber it fails with different messages, depending on...
View ArticleSSIS Logging (None level)
Dear all,Let me ask a question please.When we change our SSIS logging level from basic to none we are able to get: OnError, and OnTaskFailed.? or just on error?
View ArticleSSISDB ( data compression)
Dear all,As part of maintaining my SSISDB I am thinking in compress some tables (data compression).I saw in some foruns that the tables normally compressed in this database are the below ones:
View ArticleHow to safely "convert" a SQL Server 2016 instance from one domain to the other
Hello,Suppose I have a SQL Server 2016 Instance, on a Windows Server 2012 R2 operating system (Henceforth referred to as SQLMachine). SQLMachine is joined to Domain1, and the SQL instance has the...
View ArticleFastest Refresh of a Database
What is faster, doing a backup of a database, then sending the file over the network and restoring it to a dev database or doing a detach, copying the detached MDF file and attach to the dev db?The...
View ArticleNeed to put large database into norecovery state
Hello,I have two servers in an Availability group. Servers A is primary and Server B is secondary.For some reason, the AG was broken and the secondary database "MainDB" was not synchronizing.1. I...
View ArticleTable partition - changing column
All,According to the Microsoft documentation you can effectively remove the partition from a table by changing it to just one partition.If I understand correctly then that means I couldn't change the...
View ArticleSplitting TempDB across multiple files
I have a question regarding the splitting of TempDB in SQL Server, I know its a must in production environments as DBs Start growing and system becomes move complex. In terms of a System Test / UAT...
View ArticleEnable-SqlAlwaysOn cmdlet used to enable AlwaysOn for a SQL Server service is...
Hi there I am developing some PS scripts to set up an AlwaysOn availability group. I am trying to use the Enable-SqlAlwaysOn cmdlet to enable AlwaysOn on a remote server - I get a prompt saying 'You...
View ArticleBackup failures
Backups are failing with below errors.Any suggession please.Thank you !!MessageExecuted as user: XXXX\SYSTEM. ...ersion: 13.0.4001.0 Edition: Enterprise Edition: Core-based Procedure:...
View ArticleRestarting SQLServerAgent
Since I have jobs and stored procedures that need to write to network locations, I run both SQL Server and SQL Server Agent under local Windows accounts. I entered the accounts in the Configuration...
View Article"Exception has been thrown by the target of an invocation" Error
Help pls new here, i keep getting this:at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at...
View ArticleSSISDB (Compress Data)
Dear all,I have my SSISDB with same big tables. I have now the correct setup in terms of version storing and in terms of data cleasing (history). So the setup is according to my expectations, including...
View Articlecopy all database instance to another sql server dbatools
Dear all,I tried to move several databases from one instance to anotherI used the dbatools Copy-DbaDatabase tool [code language="sql"]Copy-DbaDatabase -Source Server1 -Destination server2 -Database...
View Article