Required SMS alert when new record update or insert in SQL 2008
Hey Guys,I have received a query for the SMS alert whenever a new record insert or update any specific table in SQL 2008.Suppose we have Dispatch table in database, boss want a delivery SMS whenever...
View ArticleNeed Help on SQL Code
I'm in an Advanced Database class using 2107 Visual Studio Community. I'm having trouble with adding a trigger that will update the field correctly whenever an assignment is made, dropped, or...
View ArticleRemoving An Instance Of MS SQL Server 2017
I am testing SQL Server 2017 on a Windows 10 machine. This instance worked fine for several days but for some reason will no longer accept any logins, (using the setup method as login using Windows...
View Articleview t-sql is blank - with rebuild index task in maintenance plan
i am creating a rebuild index task, under maintenance plan, when i click on the view T-SQL button, it will said generating t-sql, please wait, but then the box will be blank. It seems to be only...
View ArticleSQL Always On domain independent AG
Hi all,I'm working on testing the availability group on windows server 2016 across different domain by building trust between domains. Is there any way of configuring quorum across different domain in...
View Articlesql server
What would you recommend hardware wise-memory , cpu, - for a server (the actual server will be virtualized) that is running sql server with iis for about 30 users.Should i get ssds?
View ArticleMS SQL Server 2017 in a HyperV failover cluster: Software assurance needed?
Hey everybody,I have a question regarding the licensing of Microsoft SQL Server 2017 Standard in a HyperV failover cluster environment.We are running a 4 node MS Windows Server 2016 Datacenter Failover...
View ArticleMonitor throughput of a specific MSSQL database
Hello All,Can anyone suggest a way that I can monitor how much throughput a specific database uses in a given time frame please?We are looking to go through a load balancer that is licenced on the...
View ArticleMS SQL Report Builder 3.0 Stale accounts expression
I am trying to write an expression that will take the last logon date for a user and if it is greater than or equal to 45 days return the word Stale and if it is not return Not Stale. Here is what I...
View ArticleUsing CTE with Bulk Insert
This is a bit convoluted so bear with me. This new project is one where I get 36 fixed width flat files and then import them (using bulk insert) in a specified fashion. They get allocated into one of...
View ArticleSQL Database Differential Backup Size Not Adding Up
My understanding of differential backup is that after you do a full backup:1 - Full backup2 - Differential backup (all changes since full)3 - Differential backup (all changes since full)Doesn't this...
View ArticleSQL Server 2017 file location on Server 2016 VM
I'm setting up a SQL on VM for first time. VMware hosted Server Standard 2016 with SQL Standard 2017 on RAID 10. Setting this up on a physical server I'd want to set Transaction Log Files on a separate...
View ArticleSQL Coding - need to show multiple values
Hello,I'm having a Transact-SQL problem, I'm not sure if this is the right place but I don't really need syntax help rather working through the logic...So, in our ERP system, we created a new table for...
View ArticleWon't uninstall sql server 2016
Same problem as https://community.spiceworks.com/topic/1924807-microsoft-sql-server-2016-wont-uninstall
View ArticleEmails from SQL
Hi Guys,Where can I find the email that are being sent from SQL 2016?can I run a query to find this?ty,Sid
View ArticleMonitor Folder for Added Files - Send Email
I'm trying to create a SSIS package that will monitor a folder and look for additional files. If files have been added then send out an email notifying users of the change.I would rather NOT use the...
View ArticleBest Data Type For Sorting Numerically In SQL
When entering numerical data into a SQL DB, what data type is best used to sort numerically, (ASC or DESC...in doesn't matter,) so that the data sorts numerically correct?For example, say I have...
View ArticleIs it possible to drop a SQL database and recreate it with the same data?
Hello peeps,I know a little about SQL but I am not super confident with it. I need to change the collation on an existing database but through my research I have found that if I change the collation...
View ArticleJOIN causing duplicate rows in Report
I need to change an existing report to add a column from . based on .. I was able to join the two columns via two intermediate tables as you can see below. The issue I have is that the Foreign Key in...
View ArticleWho is strong in SQL server.
Who is strong in SQL server. We are upgrading from SQL server from 2012 to 2014 to 2017 SQL and move it to a new server. Running to a bunch of issue. Need help. Thank you
View Article