SQL Join not pulling all results
I have a query to pull invoices and related info from our database. The cities related to these invoices are stored in a city table, and referenced by a city code in the invoice header. I joined the...
View ArticleMS SQL Database Mirroring (2019 to 2014)
Hello,We have an SQL server that is hosted on a cloud server.We want to create a Database mirroring from the Cloud server to an on-premise SQL server.*Cloud server: SQL 2019 STD running on Windows...
View ArticleNeed some advice and opinions
Hello,So last year I got into SQL/Database and thought it's definitely something for me. My job offered to pay for my courses so I signed up for aCareer Enhancement Certificate Microsoft SQL course at...
View ArticleSQL Sever 2019 Data Directories
I am installing sql server 2019 on a windows server 2019 vm in my home test environment and have some questions about the data directory sizes.From what I understand, I need to create separate...
View ArticleMigration of application to new Windows 10 machine
Hi,We inherited an application from a developer who is providing zero support on the matter.We have a .NET application with an installer who reads data from an SQL server. We tried recreating all the...
View ArticleSQL Server 2005 database full backup is very slow
Hi,One of my clients is using SQL server 2005 and have been doing sql backups of huge databases (50GB). there is a total of 800 GB of different databases in that server.Normally a full backup of those...
View ArticleData length needs to be 220 characters in sql query
I am trying to figure out how to pad each row of my query to end at 220 spaces. They all end at various lengths and none are over 220. Thanks to everyone in advance for any suggestions.
View ArticleHow to modify SQL Server Maintenance Solution parameter
I am using Ola Hallengren's Maintenance Solution. I need to change the parameter for backup Cleanup Time. Do I just re-run the whole script after changing the parameter? Or do I need to touch the...
View ArticleAccess front end, SQL table backend runs slower on SSD?
I recently installed a new Samsung 500GB SSD in a Dell server with 1TB HD (RAID 1)Windows 2012 R2, not VM, SQL Express 2017I moved the SQL tables from the HD to the new SSDNow the Access applications...
View Articleactive-active-passive?
I'm testing SQL clustering for some devs and we currently have a active-passive sql 2019 failover cluster with SAN rdm's fro storage which works pretty well.We want to test adding an additional node so...
View ArticleListener working from primary only
In SQL Server 2017, i have created an group and created listener.Server A: 10.0.22.31Server B: 10.0.22.32Listener: 10.0.22.35Application ServeR:10.0.0.161When the Server A is primary i can able to ping...
View ArticleFailover Cluster\AlwaysOn Replica disk drives
Hi,I have a Windows Failover Cluster\AlwaysOn Availability Group (Windows Server 2016 DataCentre & SQL Server 2019 Enterprise) that has 3 nodes\replicas.ServerA - Primary replicaServerB - Secondary...
View ArticleUnhandled Exception Error while opening SQL Server Management Studio
Hello guys,May I ask your help. After I restarted one of our server, when I try to open SQL Server Management studio, im getting the below errors. I'm not knowledgeable with SQL, so I appreciate any help.
View ArticleSync data between web server and data warehouse?
Hello,So my department is starting to play with the idea of syncing the data stored on our Web server (MySQL) from our VPS to our on premise data warehouse (MSSQL). I was wondering if any of you are...
View ArticleAlwaysOn Copy-Only Backups and Log Backups - Preferred Secondary Replica
I am in the process of moving from a standalone SQL 2008 Server and creating a SQL Server 2019 Enterprise Cluster\AlwaysON Availability Group (three replicas in total).On the SQL 2008 Server there are...
View ArticleSQL Server standard 2017 licensing - hyper V
I'm hoping this is an easy question for someone more experienced with this but I don't want to get it wrong and get stung by Microsoft.I've installed SQL 2017 onto a VM, the host server has a single...
View ArticleHow to automatically export result of a query to excel Daily in SQL Server 2016
How to create a job or use export wizard to export result of a query to Excel on a daily base automatically on SQL server 2016? Basically I want to get an excel file generated daily for a query and...
View ArticleSQL Server Generate Scripts Fails
Let me start by saying I'm very inexperienced with SQL Server. I have two SQL Server 2016 databases that I need to downgrade to SQL 2008 for compatibility reasons. The typical advice I've found on...
View ArticleKerberos Configuration Manager
Trying to run this utility to check the configuration and work on a double hop issue. I've scoured the web trying to find a fix but nothing seems to work. Regardless of the site that I am in, or which...
View ArticleI am trying to create trigger in MYSQL with PHPMYADMIN
I am trying to create trigger on MYSQL database with PHPMYADMIN. this trigger is not working. any assistance will be helpful. I want to set trigger when there is an insert if someone checked 'YES'...
View Article