Modifying Agent job steps via T-SQL in bulk?
One of my customers has a good number of SQL Agent jobs which reach out (through appropriate proxy accounts) to UNCs to bring files over for import. The problem is, the server the jobs reach out to is...
View ArticleServer Duplication Options
I'm trying to find out an easy and simple way to preserve all the settings and structure for my current SQL server without the data (except for the system dbs obviously) so that I can use this...
View ArticleMonitor/Alert deadlock events
Which is the best way to alert/email deadlock events/graph in sql server 2014(24/7 monitoring). I would like to use a lightweight option without causing resource issues.Enable logging to error log by...
View ArticleAlter table alter column running long and filling log
I am running a alter table tablename alter column columnname varchar(66) on a very large table, currently is INT. 1billion rows. Ran 11 hours but filled our logs before we could expand the luns. Any...
View Articleproc taking long time to run on occasion. Same when run as script. Sometimes...
I have a stored proc with no input params that does a select that sometimes takes 2 minutes and sometimes doesn’t end. On one of the long runs I checks to see what was holding it up and notices it had...
View ArticleSQL Server Edition downgrade - Question
I have 2 SQL server instances that needs to be downgraded from SQL 2014 Enterprise to SQL 2014 Standard.on one of the instances, there is Integration Catalog db enabled (SSISDB) and other instance is...
View ArticleSSRS2014 drop list style changed after CU6 applied
I just updated my reporting server (test environment) from sql2014 sp1 to CU6.This included a fix I needed in SSRS were I was getting An error occurred during printing. ( 0x80004005).The problem(s) now...
View ArticleSpeed up Index (non clustered) creation
OK so I need to add a new nonclustered index and its going to have a long list of columns in the include list. With 90 m Rows this could take some time. Is there any way to guarantee that it happens as...
View ArticleSQL Server CDC implementation - expand to include new tables
Greetings!I have implemented CDC in our DB to capture data change for multiple tables and it runs smooth. I know that if I want to include more tables under CDC I can add more child package for...
View ArticleServer Database Audit or Extended Event
Hi Guys,We have this problem whereby its being reported that some data is being changed when it shouldn't be. Security is pretty tight anyway, access is only via stored procedures, except for the 3...
View ArticleQuantifying Database Changes
Hi Guys,Is is possible to count or quantify the number of changes occuring to a database - i am not talking how many rows are added, or how the file sizes are changing... Nor do I mean TPS.What I mean...
View ArticleHow to include sp_change_users_login in my program ?
Hi, all, my case is:My program uses login: userabc to execute:... ... ...restore database dbabcsp_change_users_login 'auto_fix', 'userabc'MERGE ... AS T USING ....... ... ...However, userabc doesn't...
View ArticleSQL Server 2014 installation failure.
Experts,I'm begging for you help. I tried to install SQL Server 2014 on window server 2012 R2 but it failed when it tried to start the DB engine. Please give me the advice and thank you for your help....
View ArticleThe process cannot access the file because it is being used by another...
Dear All,I have a database which is set t "Read-only/Standby) where I have a transactional log backup gets restored, it has been working fine until recently when it keeps throwing the following error...
View ArticleCannot open a connection to a SQL Express database; need help
I downloaded an example application from Microsoft demonstrating something I'm trying to learn. I opened up the App.Config file and found that it uses a .MDF file that comes with the download and SQL...
View ArticleScript to solve this issue
I'm new to the SQL world! I am trying to create a script for the attached is the document with instruction below is what I created so to the end but I'm sure it is incorrect. Could someone please...
View ArticlePergormance tuning for idiots (me)
Hi,with recent events and a poor first stab at performance tuning I am very interested in looking at performance tuning for what I consider to be small Data warehouses. What's a small data warehouse...
View ArticleHelp trying to setup a home lab - The certificate chain was issued by an...
Hi,Can anyone help me, please? I'm trying to set up a home lab using VMware and I'm having trouble with this error:[b]The certificate chain was issued by an authority that is not trusted[/b]So, I have...
View ArticleEditing/Removing Connections in Maintenanace Plans
Hi Everyone,We created the maintenance plan in one server in the named instance for the backup. We created new serverand moved the instance.The mainetanance plans and all SSIS packages ares till...
View ArticleSQL back Job is failing
Hi,I created a maintenance plan for backup. The job is failing with the errorThe job failed. The owner (TestUser) of job MaintenancePlan.Subplan_1 does not have server access.The TestUser has sysadmin...
View Article