SQL Query for SCCM 2012 R2
Good Day Guys.I need a SQL Query that i can copy and paste from here, it is for SCCM 2012 R2 and the SQL is SQL server 2012We need a report that will show all the installed software in a specific...
View ArticleCannot connect to remote SQL service on the first try.
When I try to connect to a remote SQL instance using SSMSit fails on the first connection attempt with this error:A network-related or instance-specific error occurred while establishing a connection...
View ArticleDelete a detached db.. New to SQL
Hello,I have a SQL Server where I just detached about 1,000 databases. I want to wait a week or two then delete the db's that I detached and are no longer in use.Do I just delete the .LDF & .MDF...
View ArticleSSRS & Excel Authentication
Hi,We run a Citrix XenApp 6.5 farm with Server desktops running Server 2008 R2 on session host servers. The servers have Office 2010 installed as we've recently migrated to Office 2010 from 2003. The...
View ArticleSQL authentication through IIS on another domain
Hi,I've this situation: Webserver is installed in domain A. Databaseserver 1 is installed in domain A. Databaseserver 2 is installed in domain B.Webserver and databaseservers are Windows 2008 R2. IIS...
View ArticleHow to determine which SQL tables are used in a programs default reports?
I want to know if there is anyway to determine tables accessed by a report in a program that uses Microsoft SQL Server 2012. Nothing in the software is allowing me get this information. I was thinking...
View ArticleDetach MS SQL DB's Command
I have over 1,000 databases to detach from a list of 5,000.. I have been doing it through the GUI.. Right Click Tasks Detach Drop Connections & Update Statistics..This got boring real...
View ArticleMore memory to a SQL Express 2012 server?
Hello,I got a lot of spikes on the "Datastore Read Latency" on a VMWare ESXi host from two VM's on thas has Veeam Backup and Veeam One installed, but thoose spikes are not so hight around 20ms but then...
View ArticleBackup options for large SQL database
Hi,i've just inheriated the job of looking after our SQL server (2012), after the previous guy just up and left. The server works fine but i am abit concerned about the backup strategy we have in...
View ArticleSimple script to restore an SQL backup with overwrite
Hi can someone help me with a scriptI have a full backup .bak file on my d: drive. I would like to schedule a agent task to nightly restore this backup file into a database which will get overwritten...
View ArticleHow to configure SQL 2012 Reporting service with Sharepoint 2013?
Hi, I have two different servers and I don't want to install the SSRS on my SharePoint server so it is on a separate one. Does this mean that I will do the Native mode of Reporting service and not the...
View ArticleSQL Server 2008 R2 Enterprise Installation error
Error reading from file D:\1033_ENU_LP\x64\setup\sqlsupport_msi\SqlServer\100\Setup\fe72iemr\xtfugnej.dll.Verify that the file exists and that you can access it.Click 'Retry' to retry the failed action...
View ArticleLoop an exec command through all tables of a database
Hi all,I am pretty new to SQL but i would like to run an exec command through all tables of a specific database.Here is the command i use for a specifc table for the database which works fine (it just...
View ArticleSQL Server create databse on secondary drive
Hello all,I have a fresh SQL Server installed on a primary C drive, as of now there are no user databases created yet...the goal is to create a database but have its files stored on the secondary SSD...
View ArticleFatal Error 615 with DROP
I'm new to SQL, and I've been working through the fantastic 'Joes2Pros Vol 1 SQL Queries' tutorialbook and finally got myself stuck in Chapter 10(just 2 chapters to go!).With SQL Express 2012 SP2 on my...
View ArticleSQL Question
So i can't seem to figure this out. We have a SQL database that runs an application that we purchased from an external vendor, and occasionally i am asked to see if i can run SQL reports that i can...
View ArticleSQL Server 2008 R2 Evaluation?
So I know it is old, and 2012 is out, and 2014 just came out. But I want to do some testing on 2008 R2. I cannot find an Evaluation download anywhere on Microsoft. Maybe because it is so old, but can...
View ArticleSSRS calculate the percent increase/ decrease from the last payment and current
Hi,I am new to SSRS Reporting Services. I would like to know how I can calculate the percent decrease/increase of last month's payment from the next month's payment.Thank you for your help!For...
View ArticleSQL Server Uptime
Well, just had a 20 minute or so outage on SQL server. There goes my 27 month up time.
View ArticleMSSQL 2012 Failover Cluster Won't "Fail Over"
I have a two node Windows Server 2012 Failover Cluster running a MSSQL 2012 role. The SQL role runs fine on one node, but will fail to start when moved to the other node. The cluster disks that the...
View Article