Quantcast
Channel: Microsoft SQL Server
Browsing all 4871 articles
Browse latest View live

Ambiguous Column Error SQL

This is a bit of a continuation of other questions. However, now the issue is "ambiguous column name,'area'.The query below returns correct data. However, it queries the entire table (80k...

View Article


Conflict between different versions of Microsoft SQL Server - Windows 10

Hello, I have a software in my company (quite essential, which has to always work), that when you install this software, it installs the CLR Types of Microsoft SQL Server 2008.I recently had to install...

View Article


Move many SQL Express databases to new server

Hi,I should move 3 instances with around 30 databases to a new server.Hos is the easiest way to do this? I can backup and restore but then I have to do it one database at time.I don't wan't to use the...

View Article

SQL FCI and AlwaysOn Availability Group

Hello All - I''m hoping i can get a better understanding hereI have currently set up the following:Datacentre 12 x Windows Server 2016 virtual machines running SQL 2016 Standard (names: SQL1 | SQL2)1 x...

View Article

Can I install SQL Server with 2 core license on a 4 core CPU?

The company needs Microsoft's SQL Server but licensing can quickly become expensive. So, the question is: Can I install SQL Server with license for 2 core on a server with a CPU with 4 cores? Thanks,

View Article


Create a loop for the Calendar Form data

I have created a query using view which give me results for the Tags as '1' if the work is done as per the dates on that particular day or '0' if it didn't. I have created this for October only but I...

View Article

SQL Server Disaster Recovery

We need to know best method for disaster recovery server for SQL Server (using for Production application).We are using Microsoft SQL Server 2016 Standard Core Edition.

View Article

What is the best way to setup a SQL Clusterusing VMware and an AWS EC2 instance

Right now we have a SQL Cluster in vmware with 2 nodes. Is there a way to add a node from AWS and failover to that instance in the event our data center goes down. How would you synchronize the data if...

View Article


SCCM with existing SQl instance

i have to install SCCM but my admin is insisting to use a existing sql server which as already some DB from Veam and other apps.will it work? or i need a new server completely?Also , we had SCCM DB in...

View Article


SQL Logfile Questions

I have a Barracuda 690 backup device. They recommend using a full backup model for SQL jobs as opposed to simple.Several times a week, I'm getting alerts via our MSP that the logfile is 96-100% full....

View Article

Can't connect to Sql Server database EC2 instance (not RDS) from outside of AWS

I have created an EC2 instance which is running sql server. This is not RDS, it is an standard EC2 instance.I have no trouble connecting to the database from another EC2 instance connected to the same...

View Article

Wildcard restore of database

I have a script I am currently using each day to restore a database provided by a vendor. The file name of the backup from the vendor is similar to 'My_Vendors_Data_FULL_20181024_230000.bak' which...

View Article

Counting number of rows that fit certain criteria

This seems quite basic and according to what I have found on W3 schools, I am setting this up correctly. However, it is returning incorrect result sets.Below is the code that I am using. The goal is to...

View Article


Hybrid deployment with SQL Server 2017

Hello We have SQL server 2017 on prem and I want to create HA by utilozing azurw. Iam planning to create a S2S vpn connectivity between on prem and Azure with SQL STD in azure and configuring Always ON...

View Article

Update SQL Records from Excel

Hi,So Im trying to update some records in an SQL table which has data missing. I have duplicated the table into an excel spreadsheet filling in the missing data in the column. Importing this...

View Article


SSIS Package DNS flush

We changed SMTP servers recently.  I've got an SSIS package that sends mail.  It is set to find the SMTP server using the DNS name of the server, which is appropriately pointing to the new server....

View Article

How to Fix Microsoft SQL Server Error 18456?

What to do if Microsoft SQL Server Error 18456 can appear when you try to login under the local administrator. Please provide me right solution to fix Microsoft SQL Server Error 18456.

View Article


Auto Provisioning new local sql accounts based on new AD accounts?

Does anyone know any automated methods for creating new local sql accounts (not giving rights to AD accounts), based on a periodic scan of AD for new users? So when Domain/Ralph gets added to AD a...

View Article

How best to refresh/reset SQL

I realize that this may not the most efficient method but lack of time dictates that I stuck with the known method and not reinvent the wheel. However, I do 4 iterations for each geography. Example...

View Article

SQL Diff Backup Error

SQL Backup agent started to get errors on one of the databases on the server.  After running a successful Full, then the differentials fails with this specific error.  Component '\server-name\database'...

View Article
Browsing all 4871 articles
Browse latest View live