Database refreshes
I'm in a fairly large environment and we're starting to do more and more database refreshes from production to dev environments. What I wanted to ask the group was what are you doing for this?Our...
View ArticleDelete old events from PowerBroker database on SQL2014Ent
Afternoon guys,My Beyond Trust PowerBroker database needs a "little" trim. It's currently at almost 650GB size and I'd like to trim the oldest event. There's a little problem though: I'm not a SQL...
View ArticleHelp with SQL statements
I need your help.This SQL statement works. It gives me what you see below.What SQL statement can I use to filter by the created_at...?This fails...!
View ArticleUser Defined Function (UDF) in master database
SQL server: MSSQL SERVER 2008 R2I have a function which is used in more than dozen of databases. So I want this function to be accessible in all the databases by writing it only once, so I want to...
View ArticleNetwork Monitor: Memory consistently running high
I am new to this so ...I keep getting alerts that memory is consistently running high (see capture1).The server is virtualized - 2 processor 8 GB virtual ram. Plenty of physical ram on the host. It is...
View ArticleDBA Tips: Discovery and Asset Management
The popularity of MS SQL Servers have led to an increase in SQL Server sprawl in many organizations today. As a result, it can be really difficult for a DBA to track and manage all SQL servers, and a...
View Articleneed the proper objects identified for creating a re-usable dynamic pivot ?func?
All the dynamic pivot info i run into is just qry code, which is not how my users normally consume this data. This is not something I can change, views are the coin of the realm at present for this...
View ArticleSQL Server on PC's.
We have Windows Server 2012. Practically all workstations have SQL installed.My bosses asked me:SQL Server on PC's. Does this program need to be installed on the computers?How to answer?
View ArticleQuery on PPsOne tables
Hi allI'm running a query on @PPsOne_prdorders but most of times, and with no specific or schematic reason, it doens't return all the article descriptions.I tried to join with the OITM table to...
View ArticleList Databases modified Database between two dates in SQL 2008
I am trying to get the list of databases modified between 2 dates in SQL server 2008. I tried this query,Textselect * from sys.objects where modify_date between '2015-12-01' and GETDATE() but...
View ArticleReport Server Windows Service (MSSQLSERVER) cannot connect to the report server
I have 2 SQL servers, 1 principal and 1 mirror on a remote site. On the mirrored server, the following error is being logged.Report Server Windows Service (MSSQLSERVER) cannot connect to the report...
View ArticleNow that SAL is no longer, how do you handle your SQL servers?
Sometimes, I just can't get my head around licensing, and this is really one of those times.We have been running a quite suped up SQL server for some time now.16 cores and 128 GB RAM.Up until now, this...
View ArticleSAP B1 - Query on PPsOne tables
Hi allI'm running a query on @PPsOne_prdorders but most of times, and with no specific or schematic reason, it doens't return all the article descriptions.I tried to join with the OITM table to...
View ArticleHelp with an SQL query
Hi Spiceheads, I have an SQL question for you... I am not very good with management studio so please bear with me.I need to generate a user report from our HR system; it has a report builder which...
View ArticleNeed help with SSRS function
Hello,Can anyone help me with logic pls.? I have four categories:--Use Tax = new_usetax--Sales Tax = new_totaltax--No Tax--NULLI do care about NULL, but i need to create a return if No tax than "Tax...
View ArticleConnecting to remote SQL databases
"ExecuteReader requires an open and available Connection.The connection's current state is closed"***I know NOTHING about SQL, I am stumbling through this crap***I have three computers, all running XP;...
View ArticleScript Error
Hi,Can anyone see an error with this script? Using SQL 2012, but it wont be accepted!CASE WHEN dbo.Database$Item.[Description 2] = '' THEN dbo.Database$Item.Description ELSE CASE WHEN...
View ArticleMSSQL - Using REPLACE to Change Multiple Values To Single Value
I need a query to convert multiple values in one column to a single value. Basically a Y/N situation.As an example: If the field contains values 1, 2, or 3, return "Y", if the field contains values,...
View ArticleTop 4 Features of SQL Server 2016
SQL Server 2016 was announced at Microsoft Ignite in May, and the first community technology preview (CTP) was released 3 weeks later. The most recent updates for SQL 2016 are CTP 3.0, which was...
View ArticleMoving off MS SQL 2008R2 to AWS
We are planning on retiring our DELL PowerEdge R610 running MS SQL 2008R2. This is currently supporting our VMWare VirtualCenter Database. One of the ideas we are considering is moving to AWS RDS,...
View Article