Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Administration |
use functionality enterprise edition - Good morning all , I must proceed to migrate an instance of 2008 Enterprise Edition to 2017 standart Edition but I must be sure that in my old instance there is no functionality used from the enterprise edition There is a utility or queries that allows me to tell me if my my instance uses […] |
SQL Server 2017 - Development |
Data Warnings / Ignore Checked Results - Not looking for any code, just ideas. I have a series of queries which run regularly, which return data rows which we consider to be potentially incorrect or worthy of being checked. These queries run against any database/table deemed particularly interesting/important. Imagine a scenario where 75 rows of data are identified, across three different queries. […] |
SQL Server 2016 - Administration |
Alert configuration - How to set up alerts on long running jobs on sql server ?, pls provide script to configure |
SQL Server 2016 - Development and T-SQL |
Empty Index Statistics object - This is a new thread but relates directly to Index statistic is empty - how is this possible? My post in that thread and for background " I too am on SQL2016 CU15 , db in Compatibility mode 2012. In the past four months we have had three occurrences of this problem. We are truncating […] |
Transactions - Hi, Can you please let me know what is the benefit of using the 'SET IMPLICIT_TRANSACTIONS ON' in the below code when we already have 'BEGIN TRAIN' which can be used to rollback if any error occurs? So, I see IMPLICIT is also being used sometimes, not sure what is the benefit when we already […] |
Development - SQL Server 2014 |
Calling a Function to Update Temp Table - Hello, I have created a function that will determine the Distance between 2 sets of Lat and Log Coordinates. The function is working as desired. As a next step, what I would like to do next is record the difference in miles into my temp table. I am attempting is to call the Function within […] |
Help with procedure creation and execution - I created the procedure below, but the updates do not run, how do I run it all, could you help me? ALTER PROCEDURE [dbo].[pp_updZeravalor] as begin declare @turnoid bigint, @ProdutoID int, @coletaid int, @areaid int, @sequencia int, @prefixo int, @Quantidade int=0, @Contador int=0, @valorUnitario int=0, @creditos int=0, @ValorMotorista int=0, @recebido int=0, @girosPagantes int=0 select top […] |
SQL 2012 - General |
How to get PartId from table #trades that have wrong Code ON Code Value To when - How to get PartId from table #trades that have wrong Code ON Code Value To when code type from and code value from Exist ? How to get PartId from table #trades that have wrong Code ON Code Value To when code type from and code value from Exist ? I work on SQL server […] |
SSL Security Error - Hello, We are trying to connect to another SQL Server database (2012 build 11.0.7001) from SQL Server 2012 database with build 11.0.7507 using SQL Native client. The database server we are trying to connect from does not have TLS 1.2 enabled whereas the database server we are trying to connect to has TLS 1.2 enabled […] |
SQL Server 2019 - Administration |
Importing text file issue - Hi, I am trying to import the attached REF_RF1MAS.txt file but am getting numerous bulk load errors. I was given the attached A_spec that is supposedly the import specs but it does not seem correct. I tried the code below. Any ideas on what the issue is? Thanks. Msg 4863, Level 16, State 1, […] |
Question on report server database - Hi, We just installed SQL Server 2019 on a new server and moved everything over. We have two Databases that are named ReportServer$DMP2 and ReportServer$DMP2TempDB. a lot of the tables in these are either empty or has very little in them. We do not use SSRS, which I thought that is what these were used […] |
Querystore is very slow - I'm working with a 260GB sized production-database here and working a little bit with QueryStore. However it's painfully slow, it takes several minutes to get the result I want to see (25 top resource consumers, last 24 hours, for example) sometimes it even gives me "can't connect to database" after awhile. Should it be like […] |
SQL Server Newbies |
Assistance needed - I have the need to pull data using a last touched date. Below ins the query, I highlighted the date I need , it pulls all dates. Please help. SELECT R.DCN,CHK_ML_CLIENT_CODE,CONVERT(VARCHAR(10),R.SCANNED_DATE,101) AS 'SCANNED DATE',R.CHK_ML_CUR_STATUS,R.CHK_ML_QUEUE,R.READ_ONLY_INDICATOR,CONVERT(VARCHAR(10),H.CHK_ML_TIME_STAMP,101)AS 'LAST TOUCH DATE', R.CHK_ML_LAST_TOUCH,CONVERT(VARCHAR(10),R.CHK_ML_LOAD_DATE,101)AS 'LOAD DATE',R.CHK_ML_FACETS_CHK_NO, R.CHK_ML_PROV_NAME,R.CHK_ML_CHECK_AMT,CONVERT(VARCHAR(10),R.CHK_ML_LOCK_BOX_DT,101)AS 'LOCK BOX DATE',R.READ_ONLY_INDICATOR,R.RECLASS_RECD_CHECK_AMT,R.CHK_ML_OPS_CHECK_REASON,R.CHK_ML_PRPR_NAME,R.CHK_ML_PRPR_ADDRESS,CONVERT(VARCHAR(10),R.CHK_ML_RECD_DT,101)AS 'RECEIVED DATE',CONVERT(VARCHAR(10),R.REOPEN_DT,101)AS 'REOPENED DATE',R.REOPEN_USER,CONVERT(VARCHAR(10),R.REOPEN_RQST_DT,101)AS 'REOPEN REQUEST DATE',RIGHT(LEFT(R.DCN,12),2) 'DOCTYPE' FROM dbo.CHK_ML_RECD R […] |
Amazon AWS and other cloud vendors |
move file backup from premise to EC2 instance - hello everyone I must proceed to migrate my database from the premises to EC2 instances I'm trying to find out how to transfer my backups to an EC2 machine thenas for you help |
Reporting Services |
shared datasets and cache refresh option - hi guys! Problem: 1) Every time I overwrite an existing shared dataset (with a manual upload or using DevOps pipeline) any existing cache gets deleted and doesn't get recreated until the next scheduled refresh or until the first user will request the report. 2) When I upload or deploy new datasets I have to manually […] |