Data collection reports for remote SQL Servers are empty
I have two SQL Server instances on two different machines, but on the same domain. One instance (name it X) contains the MDW database, the other instance (name it Y) is setup to load data collection to...
View Article"collection_set_1_noncached_collect_and_upload" fails for a remote instance
I have SQL Server instance (X) that contains the MDW database. Also I have another REMOTE SQL Server instance (Y) that uploads all its Data Collection to the MDW database on (X). (Y) instance uses...
View ArticleRestore-SQLDataBase
Hi ThereI'm trying to restore a SQL DB that we have from our PROD DB (MYDB) environment to our Test DB (MYBD_TEST) environment using the powershell cmd-let Restore-SqlDatabase see code...
View ArticleDB is stuck in Single-user mode- SQL server 2012
HiI have a DB that is stuck in single-user mode.I believe I tried everything, please help!I get this error when trying to access to db properties: Cannot show requested dialog....
View ArticlePowerShell Snippet Executed via SQL Server Agent Run Longer than Expected
Hey Gang,I have a PowerShell snippet...$alert_execution_date = Get-DateWhen run through an interactive shell, the command executes in less than a second. When run through a SQL Server Agent task, it...
View ArticleSQL Server 2012 cluster
hi,i have do some activity in SQL server 2012 with fail-over cluster in windows 2012 server r2. my doubt is while reconfiguration of the SAN storage array , can we map the same drive in the SQL server...
View ArticleMaintenance Plan Builtin user
Hello, Which rights should I give to a user so that he can only start/stop maintenance plan. Thx for your helphatem
View ArticleMaster > Target Configuration between different SQL Server Editions
Afternoon all,Just a quick question regarding the limitation of Master > Target configurations between different editions of SQL Server 2012.I am wanting to create a Master server on SQL Server 2012...
View ArticleLIinked Servers: OPENQUERY and maximum length of the string
I'm using Linked Servers to connect to Mongo database from Sql Server Management Studio 2014. I download ODBC driver for Mongo and in DSN configuration I set 7999 as a maximum string length.Then in...
View ArticleThe fastest way to rebuild indexes
We have over 5 Tb database. There are some indexes more then 15 Gb in size.The total rebuild of all indexes which are fragmented more then 30% takes about 1 day to perform.It takes about 7 minutes to...
View ArticleIs there a way to find all schemas in a server that have not been touched for...
At my company we have many QA people who create temporary schemes on a few Database Servers. They could use the schema for a while, or it could only be around for a day or so. Due to our product it can...
View ArticlePing monitoring on SQL and SSAS server
Hi,I have a server with SQL Server 2008 R2 with SSAS on it. Server went down few times and want to set up ping monitoring on it. Can you let me know how can I do that?Thanks,Koti K
View ArticleSQL Server 2005 all jobs hang
Whether I'm running a job through the scheduling agent or manually, the job will hang indefinitely. I have to RDP into the server, stop the Agent service, and leave it off. As soon as I restart the...
View ArticleSQL server 2008 Standard edition is using 80-93% memory in server 2008 platform.
Hi,We are using windows server 2008 std. & installed SQL server 2008 std. in my server at different locations. servers having 16 GB RAM But we have observed that SQL is utilizing maximum memory...
View ArticleRegarding SQL deadlock
Hi,I am getting following error Transaction (Process ID) was deadlocked on lock resources with another process and has beenFrom a SQL Insert statementINSERT INTO TABLE1 - SELECTING FROM TABLE 2 and...
View ArticleMdf file in sys.master_files but not in sys.database_files
Some background on this post: A few weeks back I started to create a Log Shipping process on two databases from a primary server to my seconday server. In order to mirror the Primary's database(s)...
View ArticleBackup/Restore Where Target Database Doesn't Exist Yet
My task is to copy a 8GB database from a flash drive to the target machine. The database doesn't yet exist on the target. I've reviewed extensively backup/restore procedures but all the examples (seem...
View ArticleMsg 3234 on RESTORE DATABASE
I'm trying unsuccessfully to back up a database from a flash drive. See the sequence and error message below. I'm running SQL Server Express 2014 on Windows 8.1.use master; go backup database Staging...
View ArticleWMI Over 1-Way Trust
I use the following in PowerShell script used to set SQL instance network and port configuration. $wmi=new-object('Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer')$cnI run the script from my...
View ArticleRestore server Sql database to client Sqldatabase Programmatically using C#
hi,I have a asp.net application which is hosted in a local server and can be accessed by local internal network computers.SQL server main database is in the Server and we are having the same copy of...
View Article