MS SQL license is SPLA Web OK?
Hi All,we are, for various reasons, going to be hosting our intranet with a third party hosting company. it will be accessible via the internal network (VPN) & externally *to staff only* (a valid...
View ArticleMSSQL2016 How do I allow to create/edit DB views with Windows account
Hey Everyone,Been a long time since I've done anything in sql, and was wondering if I could get some guidance on allowing a Windows account user (or creating a new sql user) to create/edit views on a...
View ArticleSSIS import to one table that cascades w/o record Removals
I have an Excel File (.csv) that I want to source/update/refresh data in two tables. The destinations are two SQL Server tables tblSkills and tblServiceTypes. The Excel file contains both skills and...
View ArticleMysterious foreign key errors
I have a table that I am trying to import data into. It is titled Wage. It has a column field titled "occcode". It is short for occupation code. It has a foreign key relationship to OCCCODES. When I...
View ArticleSSIS package never finishes
I've imported my SSDT package into MSDB, and use the SQL Server Agent account to start the job. The job starts fine, but never finishes. It stays in 'In Progress' status for the first step and never...
View ArticleI need date only with date data type
Hello all,Let's say I have this statement I am working with:SELECT invoice_dateFROM invoicesWHERE (NOT (invoice_date IS NULL))The result is:invoice_date1992-08-08 00:00:00.0001992-08-08...
View ArticleSQL 2014 licencing on VMware.
One of our new SQL business applications is running on a virtual machine, on an ESXi host, SQL 2014, Windows server 2012R2. VSphere 6.5.The SQL is a 6 month evaluation, with two months left before...
View ArticleAutomatically Rename SQL Backup
I'm trying to figure out if there is a way to rename a sql .bak automatically. Basically I created a maintenance plan in sql management studio 2017 which will run the backup everyday but the file name...
View ArticleOrphan users in SQL
Hi Team,Could you please provide script that generate logins create scripts in a particular database.Ex:Â Database: TestDBUser: Testuser1Login: Testuser1User Domain\Testuser2Login: Domain\Testuser2Login...
View ArticleSharePoint SQL transaction and data logs
Trying to figure out what I should do here. I was looking through our current Sharepoint server (SharePoint 2013, on-prem, this server is a VM and sits in our data center so it is backed up nightly...
View ArticleSSRS Can I "Reverse Deploy"?
I've got my Visual Studio (2013 that came with our SQL 2012) setup so I can right-click and deploy a report, and boom, over it goes.  Is there a way to pull current reports from the reporting server so...
View ArticleConditional Join of tables based on joined table condition
I have 2 tables to joinSales CustomerSales table has customer id, customer billing id and product/sale price/qty etc info.Customer table has customer id, customer billing id and buying group infoWhat I...
View ArticleHow to replicate recent data only in SQL publication?
Sorry if this question has been addressed earlier. I could not find it. Anyhooo, I'm a systems administrator with some experience managing SQL databases, but by no means would I call myself a DBA. My...
View ArticleGenerating PDF files from a SQL run
Is there a way to create PDF files from a SQL to an push them to a folder?
View ArticleSQL Server 2016 Enterprise -- Cores licensed for this install
I evidently have an odd question because I have been unable to find the answer. I should've come here first because the Spiceworks Community has some pretty outstanding users that have come through for...
View ArticleCan I change the user SQL services are running on?
Hello Spice! (as in - hello world!)After googling for a moment and not finding a satisfactory answer here we are.I have an instance of SQL Express that I need to encrypt. Yeah, I know, it's bad...
View ArticleIIS Server not communicating with SQL server. Please help.
Hello,Today at 2:00 AM the IIS stop connecting to the SQL server. The IIS is running Windows Server 2012 R2 and the SQL is running on a Windows server 2008 R2 and the SQL is SQL 2008 SP4.This is what I...
View ArticleSQL Login Disabled
Hi Team,One of SQL login was disabled causing , report generation got failed from user end. We enabled the login and make it works.But users asking why login was disabled, So just need to provide them...
View ArticleAccount for SSMS?
We just got an updated DB box and I'm working on trying to restore a database from a backup (was a SQL 2008 DB) We are using SQL 2017 and the problem I'm running into is when I go into SSMS 17 to...
View ArticleUpgrading Server 2008 R2 Std to Server 2012 R2 Std
We are planning to upgrade one of our Server that runs as our SQL Server 2012. Currently it has Server 2008 R2 Std as the operating system and we wanted to do an in-place upgrade to Server 2012 R2 Std....
View Article