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

Image may be NSFW.
Clik here to view.

Back up sql express

We have installed sqlserver management studio 2017 on sqlexpress 2014 and I would like to create the backup job and schedule the task. Following the link below...

View Article


don't want to use if then else and don't want to rewrite mostly same query twice

SQLIF(@parameterISNULL)BEGINSELECT*FROMCUSTOMERENDELSEBEGINSELECT*FROMCUSTOMERWHERECUSTOMER_NAME=@parameterEND In microsoft sql server, how can i write this stored procedure without using rewriting...

View Article


How to change dynamic sql to parameterized sql

give me some tips from changing dynamic sql to parameterized sql.

View Article

SCOM - SQL 2005 Management Pack

Hi,I've got a large number of legacy servers running Server 2003 with MS SQL 2005. I've setup SCOM and imported the most recent SQL management pack which, from what I'm readigng, the newest version (...

View Article

Unable to detect SQL Server database in SQL Server Monitoring Plugin

I’m trying to detect a Microsoft SQL Server database instance using the Microsoft SQL Server Monitoring plugin in Spiceworks. I’m running SQL Server 12.0.2000.8 in a Windows Server 2016 Virtual...

View Article


MSSQL issues

I've recently been having some problems with my MSSQL 2014 Management Studio, i went to open it today and it had a message saying 'Cannot create the window'. I've tried changing the directory...

View Article

SQL server 2008 r2 express install failure

running a software install that tries to install sql server 2008 r2 express as part of its install and the sql server express fails to install with error message "the following components failed to...

View Article

SQL new user cannot connect

Hi, Having an issue where a new user is getting an error "Server does not exist or access is denied" SQL- Status 08001 error 17 when he tries to access a program that is connected to an SQL express...

View Article


Cannot Drop Database after losing iSCSI Target

I had a disk failure on a NAS device that had a iSCSI target that hosted non-critical database mdf files. I was not able to recover the data on the iSCSI target. I have backups of the databases,...

View Article


Error on no records to update?

OK.. really never considered this before, so I'm asking as Google results haven't paid off for me on this one.. I have a VERY SPECIFIC,  UPDATE query in my .NET program.  without getting into too much...

View Article

SSRS Optional Parameters

Hello spiceheads,In SQL Server Management Studio I created a report query with a custom Where clause which works perfectly, see below.WHERE Total <> 0 AND CASE WHEN (EmpType = @Where1 or @Where1...

View Article

Image may be NSFW.
Clik here to view.

TempDB drive full in SQL server

Hi Team,Temp is getting full, I tried to shrink each file with small chunks but no use. Here Am attaching database files info and after shrink each file. Kindly provide best solution to re-claim space...

View Article

Can I use Microsoft SQL server 2016 license in SQL server 2014?

Recently we requested a license for Microsoft SQL server 2014 but the company couldn't provide license for SQL server 2014 instead the offered SQL server 2016 license. Now the question is that whether...

View Article


SQL Server Service stops running after system restart.

Okay, I'm wondering if anyone else has had this problem and has a solution... A couple months ago we started noticing some of our SQL dependent apps would stop working. We found out that the server had...

View Article

SQL Express and Report Builder Licensing - Terminal Services

Hi GuysI have an RDS 2012 R2 environment and have had a request to install SQL Express and Report Builder on one of the servers. Do you have any ideas if I can install this in a Terminal server...

View Article


SQL - Finding the links between two tables.

Hello all,I have two tables in SQL which link together somehow, I am unable to find their path.  Lets call them Cals and Orders.When an asset comes in it may need a Cal by the Asset Vendor, so we put...

View Article

Create and manipulate pivot table based on query result in SQL Server .......

I got below result based on some query manipulation...

View Article


how to remove duplicate row null value in pivot

select distinct * from (select distinct A.AGENTID as Agent_ID ,T.AGENTBRANCHCODE as Agent_BranchCode ,B.companyname as CompanyName ,sum(T.TRANSACTIONAMOUNT) as Amount ,(sum(T.TRANSACTIONAMOUNT)...

View Article

SQL Database using multiple transaction log files

Hello,I'm somewhat new to database administration for SQL, but I know a decent amount. The company I work for started with a blank live database and then copied another database (ERP software database)...

View Article

Setup failed on SQL Management studio 17.1, on windows 7

Hello,I have downloaded an SQL Management studio 17.1, but the setup always failed. It shows "setup failed - unrecoverable error 0x80070643 " ("erreur irrécupérable lors de l'installation" in french)....

View Article
Browsing all 4871 articles
Browse latest View live


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