Monitor SQL Server Activity
Hello,I have an ERP system that runs on a SQL Server 2014 database.I would like to find some way to determine what is trigger in SQL Server and what tables, and ideally, what fields are affected when a...
View ArticleLosing User Permission When Performing a SQL2012 Backup and Restore
Hi Community,I'm currently having an issue when performing a backup and restore between two different SQL 2012 databases. I perform a backup on one production database on one server, then take that...
View ArticleUnable to run trace\ALTER permissions on Azure SQL DB
Hi All,I have encountered a problem when trying to run a SQL Server Profiler Trace on an Azure SQL Database. The below error message appears.I have tried to alter trace permissions on the account I am...
View ArticleData Warehouse / Big Data - Where to start?
Honestly, I'm not sure which group to stick this question in. Any recommendations are helpful, as I imagine I may need to cross-post/delete this a few times to find the correct group.Over the previous...
View ArticleMissing Database Files
This is an odd one. I can't believe that I have not been able to find anything via Google on this so I thought I'd throw it out to you all.A couple of systems would not start normally today. After...
View Articleconcatenate rows value
Dear all,I have been given a SQL view which looks like:USER GROUP101 Red101 Green101 Blue102 Red102 Blue103 Green104 Blue104 Red105 Red105 Blue105 Green105 YellowWhat will be the TSQL to display the...
View ArticleSQL Server 2012 Killing Me Softly
Happy Friday to all. Currently looking at our worst event offenders on our domain. Currently seeing a ton of Event ID 18456 this is related to a SQL account failing to login to the DB. Across about 5...
View ArticleCopy some data from one table to another in sql server 2012
Hello,I have two existing tables: Table 1 and Table2.Both tables have some data.So I want to copy some data from one table to another not all and if both data are similar in both tables then I just...
View ArticleRDS database corruption on 2012r2
We have a 2012r2 server running RDS. It is not a DC or running any other server roles. Twice, once in December and once a few days ago, it has rebooted for updates (as scheduled by an agent service we...
View Article'system.outofmemoryexception' importing SQL script
Hello,I need to import a database from SQL Server Express 2012 to SQL Server Express 2008.I've used this how...
View ArticleCalculated Columns within SQL Stored Procedure
Hi AllI need to write a stored procedure in SQL that selects data from 2 tables into 1 table, the resulting table will get 3 new calculated columns , so the stored proc must select the data from the 2...
View ArticleRemove all existing SQL table Extended Properties and add new one
HiI have a SQL database that servers as a backend to an Access frontend.To solve an issue, its been recommended to remove all existing extended properties and then set MS_SubdatasheetName = [None] on...
View ArticleSQL upgrade
Hi,Running SQL Server 2008 Standard (64-bit) as per information from the SQL Management Studioand need to be running at least SQL 2008 R2 at the minimum in order to install a new application.SQL Server...
View ArticleHow to import DB overwriting an existing one
Hello,I have this situation:a 1,7GB script I need to import on SQL Server 2008 (Express)I've imported it using sqlcmd(SSMS doesn't work)The script has been imported on the master DB (if I usethe -d...
View ArticleSSRS Guru help needed
I am in the process of moving a number of reports out of Access 2007 into SQL Server 2008 R2 Reporting services. Most of the time, this is fairly easy to accomplish but I have run into an issue I'm not...
View ArticleInstalling Azure Backup Server 2012 SQL Account Error! Please Help! THANKS!!
I am in the middle of setting up Azure Backup on our DC. I get this error during the SQL Server 2014 Process. How do I change what account it is using. For this install I am logged in as Domain Admin,...
View Articlesql
Hi ThereWe have purchase a new PC to act as a backup to thePC that is running ourWaspInventoryControl. We have installed all the software and followed the Wasp instructions from restoring the backup...
View ArticleCase Statement
I have written my code as : however it is not executing USE [SPIERLIVE]GOSETANSI_NULLSONGOSETQUOTED_IDENTIFIERONGO--IFOBJECT_ID('dbo.UpdSalesItemCharges') IS NULL -- Check if SP Exists--EXEC('CREATE...
View ArticleWhat suggestions/recommendations does the community have on learning SQL.
I am interested in knowing what tools others have used to learn SQL. I believe we are using Server 2008 r2. Lynda.com is one of them but when I watched an introductory to SQL the next video it jumped...
View ArticleRemote access to MS SQL from web server
Hi All,I have been asked by a web developer who is doing some work as a contractor for a mutual client to give him access to my clients MS SQL server.They currently have a eCommerce website which I...
View Article