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

Moving data bases from one server to another

Hi guy's,We have an SQL server (2008 R2) seems to be the express version (No Copy option). I need to move all the databases as they are include all the files that the databases will "need" to a new...

View Article


Downgrading SQL 2017 Standard to SQL 2016

We have a client that purchased his new servers and software without consulting us for his new LOB software.  He purchased it with SQL 2017 Standard from Dell and according to the LOB software company...

View Article


How to transpose each row and stack each one on top of another

Trying to create a query that transposes each row and stacks it on top of the others in a numeric order (by year (most recent on top) and then by quarter (1st, 2nd, 3rd, 4th). Not sure if this is...

View Article

Preventing CPU Hogging

I've got a virtual machine with a single SQL instance on it.  That instance is home to live, test, and development databases.  On occasion, developers or support people will run some massive query that...

View Article

Image may be NSFW.
Clik here to view.

Installing SQL 2017 on Window Server 2012 R2

So to make a long story short, I am migrating our ERP server from a physical server (Windows server 2008 R2) to a Virtual server (Windows server 2012 R2).First question: Is the SQL 2017 program even...

View Article


Image may be NSFW.
Clik here to view.

SSIS error

Hello,I am getting following error when trying to connect with csv file.How could I solve this error?

View Article

How to uninstall all SQL Server components

Over a period of time the laptop has several SQL server expression editions got installed.Instead of going to Add/remove programs from control panel and uninstalling each one of them:1) Is there a...

View Article

Need to add two rows so that they output one row in an sql query

USE MTA_TESTSELECT DISTINCTTSO.ASGNMT_DESCRIPTION AS ASSIGNMENT,EMP.DISPLAY_EMPLOYEE AS EMPLOYEE,EMP.LAST_NAME AS LASTNAME,EMP.FIRST_NAME AS FIRSTNAME,CONVERT(DATE,TSO.WORK_DT), 101 AS...

View Article


sql database access of server

I have changed the account that the SQL Server (SQLEXPRESS) service is running under, namely, changing the account from "Network Service" to my current user account.However, if something goes wrong, I...

View Article


VSS on SQL database

HI is it a good idea to have VSS on SQL databese, can i restore the data base to its original state from shadow copies ?? 

View Article

I need help with MS SQL column Merging

GOod day all,I need some help, how can I merge two different column if the row id is the same?for instanceUserID UnitPrice Paid Credit Balance1 100 -50 25 1 100 -25 752 75 -50 253 1000 -500 500So, for...

View Article

Automating SQL Server Backu

I have a SQL Server 2012 database. It has no more than 6 users.  I want to have a backup that allows to restore to a point in time with not more than 15 minutes of data loss. I am considering...

View Article

SQL Licenses

What I've read regarding licensing has me confused.  Need to build 3 Hyper-V clients each running an instance Microsoft SQL 2016. There seem to be 2 editions of SQL Standard with considerable...

View Article


Primary Key Numbering Suddenly Changes - SQL

Here's one I have never seen and haven't found anything saying this happened, so I am putting it out here.I am running an instance of Microsoft SQL Server Management Studio version 14.0.1. In one...

View Article

How to email sql stored procedure results only when there are results?

I have a SQL stored procedure that looks for leavers accounts each day, most days this doesn't return any results but wondering whether it is possible to use exec msdb.dbo.sp_send_dbmail to send the...

View Article


Move logins From Server to a new server

Hi guy's,I'm trying to understand the the process of moving SQL logins. I'll need to move a SQL server and everything it contains from SQL 2008 R2 express to a new server 2016. So, in the old server, I...

View Article

Unable to create listener in SQL Server 2017

I am able to create Availability group using SQL Server 2017 without Cluster (using the option "NONE"). But I am not able to create Listener successfully. Listener name is appearing but connection is...

View Article


Assistance with a Summary Query

I have a table that has the following columns:State County Rep Amount01 001 100 $300.0001 001 999 $ 22.5001 002 300 $750.0001 002 999 $ 12.7502 020 400 $450.0002 020 999 $ 57.0002 030 111 $645.00All...

View Article

SSRS Bar chart of status over 24 hour period

Hey everyone.I'm trying to figure out how to generate this report in SSRS, and struggling a bit with it.What I have currently:I have a data table that contains a record for every 5 minute increments...

View Article

Max Date Returning Null for All Date Fields

I'm trying to pivot column values to column names, and populate their fields with the most recent date in the DueDate field. The code I have is returning NULL for every field. I'm not a DBA, but I need...

View Article
Browsing all 4871 articles
Browse latest View live


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