sql backup to share
trying to set up a backup job that goes to a network share. If I understand correctly, the login account that SQL runs on, would need permissions to that share which I cannot grant (client system)....
View ArticleSQL Query Help - Columns Based Upon Date Week End
Calling SQL Server query masters! I need help with a query i am trying to accomplish. I need to build an output that counts records by dynamic columns based upon a date field in the record. The data...
View ArticleMS SQL get all dates prior to given date
How do I find all dates prior to a given date? I have the following partial script:select trandefid from NodeSynchronizationHearingState where CaptureCompleteDate < GETDATE()That will select all...
View ArticleSSRS How to get the SUM of a row group that is itself an AVG
I have inherited a legacy SSRS Report that I am tweaking in Report Builder 3.0. A bunch of Detail rows are grouped in a Group row that displays the AVG of the Detail rows. Outside this is another Group...
View Articleupgrade from SCSM 2012 to SCSM 2016 Error
I was trying to upgrade from SCSM 2012 to SCSM 2016the dataware house goes wellwhen I tryied to upgrade the service manager man server I had the following erroran error occurred while executing a...
View ArticleError 5171 – mdf is not a primary database file
I am trying to attach mdf and getting following error message (check screenshot)
View ArticleHow can i move SQL cluster Always on From one domain to another domain.
I have configured the SQL Cluster 2 nodes (Always On) which is working fine in the current domain.Now client requested to change the domain server(controller). But he would make this domain with the...
View ArticleAllowing a connection to SQL from the internet
We have a cloud app that can access a SQL DB that lives on our internal network. I am not a SQL person. All of our backend SQL database give access to web servers and the web servers are available via...
View ArticleSQL AlwaysOn - Configuration manager Error
Hi, could you help me with a problem in the database configuration manager in high availability. You have a sql group that is always connected, you may during the migration from the database to the new...
View ArticleAdding Replication Feature to Existing MSSQLSERVER Instance
Hi,I have SQL Server 2014 Standard installed on a Windows Server 2016 Standard.It has the database engine service installed on it as well as Analysis Services - see belowI need to install the...
View ArticleSQL Server 2017 - Failover Cluster Issue (Always On)
When trying to go through and complete the Always On Wizard, all of the backup preferences are greyed out and the replica tab does not allow a "readable secondary". Can anyone shed any light into what...
View ArticleSQL 2014 -"no database mail profiles" when profile exists
OK.. I set this up in SQL 2008R2 with no issues, SQL 2014 says 'piss off'.On the SQL Server in Management studio. Logged in as the server administrator, with domain and SQL admin rights.. created a...
View Article2008R2 Forest Functional and Win2003/SQL2000
TeamI have had a search, but nobody seems to have the same config as I do currently.I am in the middle of updating our domain from Forest Functional Level of 2000 to 2008R2. At the moment, I've...
View ArticleSQL writable multiple copies of a database along with secondary replica
There are three locations which require to share a database. Users in all three locations must be able to update the data (Read & Write Access). However, each location should be able to operate...
View ArticleSQL Service Report for CRM using a SQL Query "IS NULL" is still pulling data
Hello, I am baffled. I am working on a SQL service report that is pulling data from several tables. I am still new to this, but I cannot figure out why my "is null" filter is still pulling data.I am...
View Articlesql server performance
HIwe have new sql server setup which is hitting few issue, this is contantly hitting 98% of its memory which make its running very slow compared to the old server.new server is VM running on Hyper...
View ArticleRestoring a SQL 2014 Database Backup Using SQL Server 2014 Management Studio
We have a clean install of Windows Server 2008 Standard R2 and SQL Server 2014. One of the *.bak files was restored from our damaged RAID 5 drives. I've found instructions on how to restore with...
View ArticleWeird or unexplained SQL Index behavior
I've seen enough Stack Overflow threads to know to get these one out of the way:SQL Server 2014 SP3 CU3 Enterprise. Database is Mirrored. Table has about 180 million rows.As the title suggests I have...
View ArticleHelp with dateTimeOffset querying between 2 localtimes
SQLSOMETABLE[Last_Check_In_Time][datetimeoffset](7)NULL,[Last_MSG_Sent_Time][datetimeoffset](7)NULL,[Last_MSG_Received_Time][datetimeoffset](7)NULL,[User_Time_Zone][nvarchar](50)NULL,[Enabled]BITNULLSE...
View ArticleSecond ODBC call to MS Access fails after upgrade from Office 2010 to 20161
After upgrading from Office Professional 2010 to 2016, the first ODBC call the Access is successful. However, the second and subsequent calls fail. We are calling from an SQL database via a third party...
View Article