How to query by a set length or number of characters?
First, in this instance, I can't create a field for the length of the given field, indcode. Reason for this is that this will be used in tableau (that is a whole other story). Needing to query for...
View ArticleMigrate MS SQL standalone database to SQL cluster
We have SCCM version 1806 running on SQL Server 2016 in standalone mode. To take advantage of SCCM's Active/Standby feature, which would allow us to fail over primary site to another datacenter with 30...
View ArticleDowngrading SQL enterprise to standard 2016
Hello, We are trying to downgrade some of our sql instances from enterprise to standard on our test environment before moving to production i ran this query "SELECT * FROM...
View ArticleSQL tables not returning any values based on join
Hi,So I have the core part of my SQL report working, it contains a column within Table A which is called users_text_field this field contains Product ID which Ive joined to Table B Product - different...
View ArticleTwo node clustered SQL upgrade from 2012 - 2016
I have rather recklessly attempted an in-place update of a two node SQL cluster, from 2012-2016.Attempted following a step-by-step but evidently missed one...Now I have a situation whereby the cluster...
View Articleschemas and objects dissapearing SQL Server 2012
Hello, I work as a db developer and this happened at least three times in the lasts months, all the stored procedures missing, tables or whole schemas, in development and testing environments, in...
View ArticleSQL 2014 Server Error
Greetings all,I have an SQL Server 2014 instance that is running on Windows Server 2012 R2. This server houses our financial information that runs the program called "SISFin" from Tyler Technologies....
View ArticleSecondary database sync
Hello,I created an excel sheet to take queries from an SQL database 2008 and took a copy of the database on another VM and this excel sheet to take queries from the second one to keep the first one...
View ArticleStored procedure security
Hi,Any one knows how to secure a stored procedure?I mean need a password to view or modify the procedure.Thanking you in advance.
View ArticleSQL for following?
I have following questions as part of a job interview that is supposedly to measure the thought process. Please answer and explain both to the best of your ability.I. Total # of orders & total...
View ArticleMicrosoft BI - some basic questions
Company is looking to deploy Microsoft BI and generally they don't know the questions to ask because they don't know what it is they don't know or enough about BI outside of they heard the term in some...
View ArticleMap Out SQL DB
HelloWe have an SQL DB that is attached to one of our main applications at our office. The application is old and the support is sub par at best. But the data that's in the DB is solid and i was hoping...
View ArticleSQL Server Full-Text Search not Matching Numbers
Text = JohnWick123 Why below query unable find the record?SELECT *FROM UserWHERE CONTAINS(Name,'"*123*"')
View ArticleDatabase Recovery Pending
I am playing around with an adventureworks 2014 Database and I went to rename the logical and physical file using SSMS and succeeded at renaming both. I tried to bring the database back online...
View ArticleSQL Query for pulling update compliance
Hello Everyone!Just to start this off I am novice when it comes to SQL, but I am learning as quickly as I can!Lately I have been messing with a few SQL scripts that I have found on google and I have...
View ArticleCreating a parameter with a stored procedure - SSRS
Hi,Im struggling to work out how to use a parameter within SSRS when you are using a stored procedure as your dataset? Previously with a view you can amend the parameter on the end of the query but...
View Articleloading Data from CSV file into Sql server tables
Hi i am trying to load data from CSV file to multiple sql server tables and some of the tables having Reference to parent tables so i can get the FK column value but trying to load via INSERT INTO...
View Articleloading Data from CSV file into Sql server tables
Hi i am trying to load data from CSV file to multiple sql server tables and some of the tables having Reference to parent tables so i can get the FK column value but trying to load via INSERT INTO...
View ArticleSSRS Expression error when uploading report
It would seem the daemons are out to get me on this one :) every time I think Im there I get another error. This time is when I try to upload the report to our SSRS server. It errors withTextThe Value...
View ArticleHow to have SQL remove matching data?
Every month, I update a variety of files. In the past, I did this through a web interface. However, we have a new shared database and that functionality is not in place yet. This is the concept. There...
View Article