identify if heaps are being used by applications
any table with atleast one index can be queried for index stats usage to identify if the table is being actively used or not how to identify if heaps are being actively used by applications or not we have thousands of heaps and most of them are just…
Replication without SQL Agent
Hi. The site I am working at uses SQL2016 Std Ed and does not enable the SQL Agent. Scheduled tasks such as backups etc are run centrally from a 3rd party app. I would like to set up transactional replication. Most of the SQL Agent jobs that are…
sqlcmd: Microsoft ODBC Driver 17 for SQL Server Paging error
We receive this error periodically when trying to run queries via automation using sqlcmd. The paging file is system managed, we have updated driver to latest version but still get this and memory allocation issues if any activity us taking place on the…
Facing com.microsoft.sqlserver.jdbc.SQLServerException: Read timed out
I have following details - DB server - Windows Server 2016 Datacenter SQL Server version - Microsoft SQL Server 2016 (SP1) (KB3182545) - 13.0.4001.0 (X64)
Error SQL Mirroring configuration "The server network address "TCP://xxxx:5022" can not be reached or does not exist"
Hello All, I faced an issue while trying to configure SQL mirroring. Here is the message error: ==================================== The server network address "TCP://xxxx:5022" can not be reached or does not exist. Check the network address…
SQL Server 2017 Core Licencing
We have a SQL Server 2017 Enterprise Core edition with no SA in virtualized environment. This VM has been assigned 8 vCPU. This VM is hosted on three physical servers in failover cluster. I would like to know from licensing expert if we are covered with…
My Sqlite inset, but whe I read it there is none
public class Contact : ViewModelBase { [PrimaryKey, AutoIncrement] public int Id { get; set; } private string _Name; public string Name { get { return _Name; } set { if (_Name != value) { …
SSAS optimal settings for processing and querying with OLAP site
I have a cube server with 16 virtual core and 64 gb memory . the average usage of memory is around 45% and CPU usage is about 60% max. We have almost 10 cubes on this server. We are observing whenever we process a cube(any client) the web application…
MSSQL 2019 A connection was successfully established with the server
I use Microsoft SQL Server 2019 (RTM-CU7) (KB4570012) - 15.0.4063.15 (X64) Aug 15 2020 10:48:11 Copyright (C) 2019 Microsoft Corporation Developer Edition (64-bit) on Linux (Ubuntu 18.04.5 LTS) I develop with .net core 3.1.8 web api using Kestrel : …
SQL Stored Procedure?
Hello all: I am working on a project and need to create 100000000 records and they have a small data footprint, just 4 columns, 3 uniqueidentifiers, 1 int. 2 of the identifiers need to be read from other tables, and then used in the other table. So…
Object ID in query_store_query DMV doesn't exist? Where'd it go?
I'm querying the query store DMVs directly but the object_id in the query_store_query DMV is returning a value that can't be found. It isn't 0 so why does it return a value that doesn't seem to exist? Could this be due to the fact some queries are coming…
Connection problem using SqlClient on a MS SQL Always ON environment using availability groups
So we wrote a service for a client using vb.net and the SqlClient namespace. The ConnectionString is built once, then for each sequent run - the service is called by a System.Timer.Timer once every 2 seconds. On such a run via conn.Open() the database…
nth Occurence Join
I am very stuck with this. I have two tables: Table 1: Patients and CPT values that all say SURG PATNOCPT58903SURG58903SURGTable 2: Has same patients but with actual codes I need to match with Table 1. PATNOCPT5890329882589036447 The issue:…
Inner Join using SQL SMS
Hi. Noob here trying to figure out SQL SMS queries. I'm trying to take a query that works in MS Access and use it in SQL Server Management Studio. I start getting syntax errors at the "inner join". If I just run the first select-from-where…
Polybase feature is not enabled
I tried to execute the following: EXEC sp_polybase_join_group but the following error occured: This stored procedure is not available because Polybase feature is not enabled
Visual Studio Publish - not able to connect to database
I have created a very simple Blazor application with a database connection. The application works fine, when executed locally. I have created a SQL Server database in Azure. I have added a firewall rule to make external access possible for my ip. When I…
How to quit SSIS without erroring
Hi, Just a wee question. I have a SSIS package which reads an excel sheet into the database from a folder. If there is no excel file there, how do I exit the SSIS package without failing the job? What would I point the red arrow to? and would…
integration service catalog node not visible ssms
i am using sql server 2008 r2 and intergration severces is enabled but the node for integration services not showing in ssms
Cannot aquire connection from connection manager
Hi, I am trying to follow an online instruction on to read in some excel files into a db . http://microsoft-ssis.blogspot.com/2011/02/how-to-configure-foreach-loop-file.html I have set everything up as per instruction however i am getting the…
Latest Compatible versions of Visual studio, SSDT and Sql server
What are the latest versions of Visual Studio and SSDT that are compatible with latest versions of sql server and is working fine without any issues