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

SSRS Permissions Issue with User Name Change

We use SQL Server Reporting Services and a long time report admin recently changed her last name. She is able to create subscriptions or make changes to reports but when another user is attempting to...

View Article


Using values from the HTTP string in a WHERE clause in SQL

SQL<usq:SqlDataSourcerunat="server"ID="sql"<SqlDECLARE@DateFromnvarchar(max),@DateTonvarchar(max)SET@DateFrom='09/01/2014'SET@DateTo='12/01/2014'SELECTCASEMONTH(Creation_Date)WHEN'1'THEN'Jan'WHEN...

View Article


SQL export very 30 minutes? help

I do not know SQL at all. I have moved a few databases and done some networking but thats about the extent of it.Our company SQL contractor is horrible.. We are switching to a new time system and he...

View Article

sqlmaint failed

I have a database running under MS SQL 2008 R2 under Win 2008R2.There are several backup jobs that came with the application ruining on this server that are failing.Job example is as follows:EXECUTE...

View Article

SQL Update with Carriage Returns

Hello Spiceheads,I am trying to adapt a series of SQL update statements to update part descriptions in MS SQL Server. Right now the data is all in an Excel spreadsheet. Part of my challenge is that I...

View Article


Image may be NSFW.
Clik here to view.

How to translate value - SQL

I wasn't quite sure how to ask this question, so I'll give a visual example. Below, you'll see the view that I created. One of the columns selected is SupervisorId. I'd like for that field to show the...

View Article

Linked Server or Transactional Replication or other?

We will be setting up a SQL Server 2005 database to run a manufacturing program.  Typically the data will be aggregated each minute.  However we'd like to use SQL Server 2012 (or later) for the better...

View Article

Exclude all records if something matches in linked tables

I'm trying to write a report that pulls a customer record if a linked table is missing a record.So something like...

View Article


Having touble with SQL Server Agent job

OK so here's the situation. I have SQL Server 2012 installed on a server. Let's call this the "main server"A computer at another site is running SQL Express. "let's call this the "remote server"On the...

View Article


SQL Server 2008/2012 installation issues

I needed to setup SQL Server Express 2012 on a server.  When I installed it, I had it set to my user account, then later realized I wanted it to use a different account.  I didn't see how to change...

View Article

Image may be NSFW.
Clik here to view.

Help Installing SQL Server 2014 Standard. Error 2203.

Hello everyone,I am trying to install SQL Server 2014 in my test environment. I am using Server 2008 64 bit.But when i try to install, it report an error message. Error no 2203.I checked the log files....

View Article

Pulling similar rows that match previous criteria using EXISTS

SQLSELECT*FROMFS11HDASORGDIEWHEREEXISTS(SELECT*FROMFS11HDASBCKUPDIEWHEREORGDIE.DIE_SHAPE=BCKUPDIE.DIE_SHAPEANDORGDIE.AROUND1=BCKUPDIE.AROUND1ANDORGDIE.ACROSS1=BCKUPDIE.ACROSS1)What I am trying to do is...

View Article

SQL Server Virtualization Tips from Solarwinds

I was reading the VMUG Voice newsletter today, and I came across the following article about optimizing SQL performance in VMs.  It seems to be centered around Hyper-V, but I am curious as to what...

View Article


How to run select statement with a list of where value SQL 2008?

I have a list of PO numbers that is in a text file:textfile.txt1232353221239532039110393etc.etc..Here is the statement I am runningselect dbo.PurchaseOrder.SiteID from dbo.PurchaseOrder where...

View Article

Database Mirroring

If a network/database is compromised by a virus or is hijacked for ransom, does the mirror copy end up corrupted as well?

View Article


MS SQL Database export for Dev purposes

Hello All,We have a database we use that is hundreds of GBs in size.  We occasionally export it and load it to a dev server for testing purposes.  My question is we would love to export a database that...

View Article

Cost threshold for parallelism

When I run Jonathan Kehayias's script to inspect the plan cache, first of all I'm surprised by how few results I have. One of my SQL instances returned 45 rows and the other instance had 49 rows. It...

View Article


Restore database with full backup and LDF

We had a bit of a disaster last night.  The bulk of our databases completed full backups, but we had multiple drives fail minutes before our dental database backed up.  So what we are left with is a...

View Article

Migrate entire SQL 2008 Instance to new 2008R2 Server?

So here goes... My SMB is in the progress of migrating to new SQL Server hardware that is more robust, as well as going from 2008 on the old Hardware, to 2008R2 on the new Hardware. I have the Install...

View Article

Uninstall previous version of SQL

I'm trying to install Windows ADK (for volume activation) on a Server 2012 R2 server, I only have the ADK package set to install VAMT and SQL Express but the SQL Express install fails everytime. From...

View Article
Browsing all 4871 articles
Browse latest View live


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