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

SQL Query Left Outer join in SQL 2016

Hi Team,Below query executing successfully on SQL 2008R2 but getting syntax error at Left outer join in SQL 2016, Kidly review and help me in rewriting the query. I tried to modify but error msg...

View Article


sql server slows down considerably

hello,we have sql server 2014 std on windows 2012 std r2HyperVM with 4 cores and 16GBwe have 2 instances with1st instance - 1DBDB1 Size - 4GB2nd instance - 2DBDB2 Size - 1GBDB3 size - 10GB LOG3 Size -...

View Article


MS SQL error when synching profile to trimble gps device

Hi, Not too familiar with MS SQL tables and navigating around or troubleshooting issues, but here's what's happening.We have a program called GSI Asset Manager, installed on server with SQL 2008 full...

View Article

SQL error Msg 515 column does not allow NULL's. but there are no NULL's

I am hoping I have a simple issue, but I am not sure. I am trying to update the Salesperson ID field in Dynamics GP SOP table from the Salesperson ID in the Document table.When I run the following...

View Article

Is It Possible To Configure a SQL Fail-over Cluster Without Shared Storage?

Hello Spiceworks Community,I have an upcoming project with Microsoft NAV where the client wants high availability in case 1 server goes down.We have 2 hosts which will each host a Domain Controller and...

View Article


Query to get data from joined deleted tables.

I am building a trigger to put deleted data into another table. I am unsuccessfully trying to get the joined data when the SO is deleted. Hopefully someone here is smarter than me :) The following code...

View Article

Error when running CHECKDB on SQL Server Management Studio

Firstly, I get this in the Event Viewer under Application. It is ID 823:The operating system returned error 1117(The request could not be performed because of an I/O device error.) to SQL Server during...

View Article

SCCM Device Collection (Exclude Security Group)

Hi Can some one point me in the right direction please?I have setup a device collection with the following rule: -System Resource - Security Group Name - is not equal to - *Security Group Name*But I...

View Article


SQL moving from Windows Server 2008R2 to 2016 is very slow.

Hi Everyone,We are in process of migrating from server from 2008R2 to 2016. I have an existing 2008R2 server running SQL2012, server is virtual with 4 vCPU and 32GB of RAM. Storage is on a tiered SAN...

View Article


Hi, Is it possable to add a calculation to an already calculated field?

The below code works fine in but i want to calculate 'YTD Scrap' / 'YTD Issues' SELECT stockm.warehouse, stockm.product, stockm.long_description, stockm.analysis_a, stockm.analysis_b,...

View Article

SQL SSIS Question

I am getting the following error statement when running a SSIS package. My statement includesFROM [tablename] WITH(nolock)Whenever I parse, it says it's valid but it fails in the Pre-execute stage....

View Article

Should you use SQL Monitoring Tools

I have been using SQL Sentry 1 for the last couple of years or so to monitor my production SQL server. But recently I have been looking at other tools and have found that When Sentry 1 is running I end...

View Article

Image may be NSFW.
Clik here to view.

SQL Query required for a specific output for provided data

Hi I have a table called client with data in the format below;Kindly advise how I can achieve this. If possible share a query for the same.Thank you.

View Article


Need to create store procedure for below asp file

using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using...

View Article

SQL backup and restore

I am going to be moving SQL databases from a SQL 2008 server to 2014. The databases are in full recovery mode. I plan to do this by backing up the databases and their log files. Then I will restore...

View Article


CASE statement

Hi there hoping someone can help me I created the following...

View Article

Best option for recursive parent child loop

I have data stored in a table with a parent child relationship. What I need to do is roll up from the furthest down all the way up. This could be quite a few levels. I have done this in c# with a...

View Article


SQL Failover Cluster ERROR

Hi I am have problem while installing SQL failover ClusterTITLE: Microsoft SQL Server 2016 Setup ------------------------------ The following error has occurred: The cluster resource 'SQL IP Address 1...

View Article

SQL 2016 grant local SQL user access to view

I have a SQL 2016 server which is in domain B and I need to access it from domain A. There's no domain trust between the two so if I understand this correctly AD authentication goes out the window even...

View Article

Reg SQL Update Query

Hi,Please find the problem statement below:It is similar to the cards we use for metro trainswe add pass or and other product or add money to wallet and such kind of stuff.So problem here is when...

View Article
Browsing all 4871 articles
Browse latest View live


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