Test if any SQL Server related questions already exist
I checked all 4 forums under SQL Server and I see 0 posts. However, I think I saw a thread somehow where I saw Uri has an answer. How come I don't see any questions in relation to SQL Server?
SQL Server Reporting Services -- Deploying report fails -- The operation has timed out
HI All, I am getting an error today that I have not received before. When using Visual Studio to deploy a report to my SSRS 2017 Report Server, I am getting the error "The operation has timed out." I am using SSDT and Visual Studio…
SSRS - STORED PROCEUDURE WITH TABLE VALUED PARAMETERS
Hi, How can we use Stored Procedure with Table Valued Parameter in SSRS Dataset ? CREATE TYPE DBO.MultiFilter AS TABLE ( filterVal VARCHAR(200) ) CREATE PROCEDURE DBO.USP_multiFilterTest @position DBO.MultiFilter READONLY …
Lookup do not bring amount
Hello There I have to datasets one for expenses and one for revenues, it is partially working because the lookup is bringing one value from the datasource therefore I am out balance. The money is sitting there but my lookup is not bringing both…
Description=[Microsoft][ODBC SQL Server Driver] [SQL Server] Invalid object name 'databaseproperty'
Hello, A good friend of mine runs a tech support business from his home and is in the hospital for an unforeseeable amount of time. I've run a disk repair for his son but whatsup isn't loading properly (i kept poking at it and admit every time I fix…
Managing MDF Files
I have a database MDF file with 800Gb, and the disk is almost full. I'd like to get the best practice to grow create new files to my database. So, I have some options to do this: Create a new drive, create a new MDF file with autogrowth, and…
Choice of Join hash join
I believe sql server optimizer will choose loop join if one of the input table will be relatively small . like few rows. but in the following example show that it use hash join and using the smaller table as to build hash column in memory . so the query…
Enquiry about Queries for SRSS
Hello everyone, I write my problem here because I tried everything that I could, and I don't find a way to make what I want. I need to make a report, for this, I'm using Microsoft SQL Server Report Builder to prepare Tables and Queries. Here…
Backup & restore of SQL DB from one location to another - how do I get the versions of the SQL DB to be the same?
Hello, We want to restore a SQL DB from one SQL server to another from a backup. I want to be clear I don't know much about SQL - I usually install them and someone else does any programming needed. I can't even run a query unless someone walks me…
Aged Data Not Removed in SQL Server Temporal History Table
ENVIRONMENT: SQL Server 2017 Enterprise running on Windows Server 2016 Standard Test Case: Create 2 identical temporal tables (differ only by name) where 1 table has HISTORY_RETENTION_PERRIOD set to 1 day. The other table is set to…
Always_Health
Hi, Is it necessary to always trun on AlwaysOn_Health event session in SQL Server 2016. If yes, does it impact on server performance? 18501-image.png
SSIS - Excel Macro
Hello, I have an SSIS ETL that moves excel files from a local folder and inserts the data into a SQL database. I'm running into some issues with a the excel files being in two different formats breaking the ETL mappings. I've created an excel macro…
Objects never used in the database.
Hi everyone! Is it right to conclude that objects (tables and indexes) that do not have entries (records) in 'sys.dm_db_index_usage_stats' are objects never used in a database? Hope I was clear enough.
SQL Server Agent - Retrying When Job Does Not Start
Using SSMS 18. I know I can use the Retry Attempts option to retry a job if it fails. What I'm wondering is whether there is a way to retry a job if it hasn't run at all. For example, I had a job scheduled to run a few nights ago but the server was being…
Can you please help to recovering a database with log file alone upto latest transactions?
I have lost the drive which hosted data file and DB is recovery so I wanted to recover the data till the last point? is that possible with log file alone ?
SSIS - Send Mail Task
Hello, I created an SSIS ETL that Loops through a local folder, inserts excel file data into a SQL db, then archives the file. I'm trying to add a Send Mail Task to the process but I can't seem to get it to work. I can get the email to run but it…
Unexpected Termination - SQL Agent - excel Import
Hi experts, According my research over google, this issue has been active since 2018. Unfortunetally I haven't found the right answer. I hope somebody could help me. I have a package in SSIS which loads an Excel file data into a Table. At the…
Display current hour Production
CREATE TABLE dbo.RAWTable(Time_Stamp datetime , Date date , Shift_Id varchar(5) , Line_Code varchar(10) , Machine_Code varchar(10) , Variant_Code varchar(20) , Machine_Status varchar(30) , OK_Parts int , NOK_Parts int , …
Segmentation fault (11) when start mssql in centos 7
i installed mssql, made setup, it was working fine. I created some databases and tested some apps can connect. All was fine. After this i rebooted my centos 7, and mssql never started again. i tried to reinstall it, but not successful. On start i get…