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

SQL Trigger to mirror a value in two tables

I am hoping to get some assistance in my logic - i have been on other forums and basically shot down as I am a beginner to SQL Triggers..I just have a question as to what is the best way to accomplish...

View Article


Certificate error in SQL even when SSL is not used

Hi, We are running an SQL server 2008 that we used to connect to with an On-premise gateway. One day the connection stopped working with SSL error, claiming that the certificate had expired. When I try...

View Article


Can't connect to AWS RDS Microsoft SQL Server

Hi all,I'm trying to migrate our MSQL Database to a Amazon RDS MSQL instance, but I seem not able to connect.The migration went find by importing a .bak file from Amazon S3. The database is imported...

View Article

SQL Emails received in duplicate or triplicate

Hello!We are having an issue where emails sent by both SSRS and from SQL jobs themselves are being received in multiples, usually twice, but sometimes three times. We had to shut down the server room...

View Article

Oracle to SQL replication

Hi Team, we have configured replication from oracle 12c to SQL 2016, it is working fine. But have been seeing some issues like, data count is mismatch from oracle table to SQL... At that time we do...

View Article


Network Latency required for SQL Always On and MSCS Cluster

Hi All,I'm working on the preparation of SQL Always On for multi-domains which is across different sites. May I know is there any document of describing the network round-trip latency for Always on and...

View Article

DatabaseMail service is not starting

Any time i tried to start DatabaseMail service from SSMS it starts successfully but within few seconds it stops with below error message:2018-09-28 10:11:41.303 DatabaseMail process is...

View Article

SQL command that will allow for user input - need some help

Hello All,First TIA.I have POS software that changed the way they show the last 4 of a CC. I am able to see it in the SQL table but need to give my customer a way to be able to search for it and have...

View Article


SQL C2 Audit Trace Logs

Hello, we recently discovered that C2 audit was enabled on a SQL Express Server creating over 400GBs of audittrace files. The service has now been disabled and the files are no longer generated.Is it...

View Article


How best to pivot the results of a sql query.

Below is the code that I am using to sum up across 3 values of a field titled ownership. In the original data set, there are 3 values (mnth1emp, mnth2emp, mnth3emp) per ownership codes 10, 20, and 30....

View Article

Upgrading to SQL server Standard

We currently have SQL server 2017 express installed on one of our servers. We have a number of in-house web apps and VB apps that store the back end data on the server. When the user returns data into...

View Article

SQL Server 2012 re-installation fails

We restored a server from a system state backup yesterday. However, it seems that the applications didn't come with it. They do appear in Programs in Control Panel which makes this situation funnier....

View Article

SQL preformance and configuration issues

Hi, I have an HP Gen 9 server with 8 1.2T 10k sas disk (Local) and VMware installed on internal SD card, all disks are currently in RAID 10. We're having an issues with our SQL server preformance and...

View Article


Changing Recovery Model to SIMPLE and then SHRINK ?

I have a TEST database that I just refresh with data from our LIVE database. Therefore, I do not make any backups of the TEST database. However, the LDF and MDF files are extremely large. I checked and...

View Article

combining multiple tables into one

First, the four tables are of the same schema. They are titled xyzfirms20171,  xyzfirms20172, and so on. They are just quarterly editions of the same table. I did not create the originals but now am...

View Article


Image may be NSFW.
Clik here to view.

SQL Debugger not working from Windows 10 Pro or Home.

Hi all,I am trying to debug using SSMS 17 from my Windows 10 Pro machine but i am getting the below error;I have followed the Microsoft documentation on this and allowed access for all recommended...

View Article

Creating new field values in SQL using a view

This may seem naive or rudimentary but really trying to understand this before I execute it and then write it up in a processing manual.I have a series of tables which have a field titled size class....

View Article


SQL Express 2016 Install Command Prompt

I am trying to get a command prompt SQL Express 2016 install to work. For whatever reason it doesn't seem to apply my parameters to the install such as the sa account password, or the domain user along...

View Article

Having SQL return nonexistent data

https://community.spiceworks.com/topic/2165975-how-to-have-sql-return-values-for-nonexistent-data?pa...This is a continuation of this question. I just need to modify one section. The entire code will...

View Article

Compare CONTENT 2 MS SQL DB

is there any tool that we can compare the content of 2 MS SQL databases ? 

View Article
Browsing all 4871 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>