Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Browsing all 6525 articles
Browse latest View live

An error occurred during recovery, preventing the database from restarting

We are running SQL Server 2014 Web Edition (64-bit). On three occasions now we have had two of our live secondary log shipping databases become unusable through the log shipping process. We ship logs...

View Article


get last full backup times

I've got the below and have several variation and still cant seem to find a perfect way to query the server to bring back that last full backup per db. I'm shopwing mutilple records in the backup set...

View Article


I/O Errors

I am new to a job and have noticed the following in the server log, which is sometimes accompanied with the arrival of an email saying a deadlock was avoided, no user action is required."I/O is frozen...

View Article

Full text search not returning certain results

We are running SQL 2014 SP1. We are using defined Full text indexes on several tables in the database. However, on one specific set of servers, a certain search will not return any data. This exact...

View Article

Thank you to the Forum

It's been a long time since I've posted this so we are long past due.Thank you to everyone who participates on this forum. Although I've been a member for a while, I rarely post. Nevertheless, I cannot...

View Article


AlwaysOn failover cluster session failover

Hi Expert,I need a advice.1. Once fail over to secondary replica, what will happen to connected session in primary node? can the session fail over to secondary seamlessly or need to re-login. what...

View Article

how to get XML SCHEMA COLLECTION definition

Hi All,I am trying to copy the table data from db to another db, because some tables has xml column with a schema collection, I would like to get difinition of the xml schema collection and create it...

View Article

Check if UNC path exists (It is folder, not file)

usual way to check if file existsDECLARE @File_Exists INT EXEC Master.dbo.xp_fileexist '\\serverB\SQL_Backup\file.bak', @File_Exists OUT print @File_Exists1And if check folder, can use "nul", but it...

View Article


Drop database on secondary node after removed from Availability Group on...

Hi all,I have an environment with MS-SQL Server 2014 and always-on availability group configured (on 2-nodes).I'm writing a Powershell Script which removes the database from the availability group (on...

View Article


Required Permissions to Enable A Mirroring Session

Hi all,I have a permissions issue that I am hoping you can help me with. I have a Windows NT group that is used to delegate certain database responsibilities to other members of staff and I am trying...

View Article

Cursor stop query at specific time

This store procedure will get some executable queries from the select statement, the cursor will fetch each rows to execute the query and insert the queries into table_3 to mark as 'E'. Until 17:00,...

View Article

Estimated Query Plans

Hi,First post.When viewing an estimated query plan for a stored procedure with multiple query statements, two things stand out to me and I wanted to get confirmation if I'm correct.1. Under...

View Article

MSDTC

I recently took over an ETL system which uses linked servers to pull data from a number of source databases, which I'm in the process of migrating over to SSIS. We have, on average, about 5 source...

View Article


Ensuring Upgrade Advisor is running properly?

I have a SQL Server 2008 instance that is running on "LiveServer" our production database (ProdDB) - and we need to upgrade to 2014. In order to do some upgrade testing, I spun up a VM with the same...

View Article

TempDb on Drive Root

Does anyone know of any documentation that supports the placement of Tempdb files on the root of a drive, i.e T: instead of T:\tempdb. I am positive this is not a best practice, but when challenged...

View Article


SQL Agent Jobs and Availability Groups

So this is my first foray into setting up AG on 2014, which will contain about 100 + SQL Agent jobs that are being converted from SQL 2008 R2. My plan for handling the converted jobs is as follows1)...

View Article

High Availability / AG error

Hi,We just had to rebuild our listeners and AG groups.Everything is now synching correctly and appears to be fine...when I recieved this message in an eamil:There is currently no Replica defined as an...

View Article


Can I use different index on main DB and mirror Database?

Hi all,We use SQL server always on feather on my database and we distribute statement on main database server and mirror database server for raise performance.My police for split statement is DML...

View Article

SQL Server 2012 using SSIS 2014 in Agent Job

Hi there,I don't want to go in the details why, however I have following szenario:Server with SQL Server 2012 DB + Agent + Integration Services 2012 and additionally Integration Services 2014...

View Article

Installation Directories Folder

Just a question on an installation as I need to split out the binaries and system databases. I am right in thinking that the instance root directory (instance configuration screen) is for the binaries...

View Article
Browsing all 6525 articles
Browse latest View live