Here's a few of the new posts today on the forums. To see more, visit the forums. |
SQL Server 2017 - Administration |
How to reclaim space from a table - Hi All I have 1 TB database and i cant shrink it as it shows zero % free space .. when I checked into the report of disk usage by table .. there is 1 table which has unused space 700 GB . This table has no Clustered index and only has non clustered index […] |
dirty select and snapshot isolation - Hello everyone Can anyone explain the difference to me please btewwen ALTER DATABASE test SET READ_COMMITTED_SNAPSHOT ON and ALTER DATABASE [test] SET [READ_UNCOMMITTED] ON GO because in both cases my select works well even if my update is still running thanks |
SQL Server 2017 - Development |
Need help to calculate Month in integer into Year and Month - Hi, I've this, declare @t1 table ( Id int primary key, HowManyMonth int); insert into @t1(Id, HowManyMonth) values(1, 17); insert into @t1(Id, HowManyMonth) values(2, 37); How to make it output like this? Id | PeriodDisplay ------------------------ 1 | 1 Year(s), 5 Month(s) 2 | 3 Year(s), 1 Month(s) Please help |
SQL Server 2016 - Administration |
Extended Events - how can I query the location of File Target of an XE Session? - If I know the XE Session name, is there a query to find out what file path is defined for File Target of the session? |
SQL Server 2016 - Development and T-SQL |
Linked Server UPDATE & DELETE fails . But INSERT & SELECTs work fine - Hello, I have a Windows 2019 machine. I have SQL Server 2016 and the v18.1 version of SQL Server Management Studio. I have created a linked server & I am trying to execute some queries on a remote Db2 server. I am using MSDASQL provider, i.e. 'Microsoft OLE DB Provider for ODBC Drivers'. The INSERT […] |
Knowing ERD for Joins and Subquerries - Hi Experts, I am learning and when I want to practice Subqueries and Joins from the database say Adventureworks or T-SQL Information Schema, I am not able to know how to join and how to create an ERD. My challenge in any system is that I need to know the data model before I practice […] |
SQL Server 2019 - Administration |
Good t-sql script possibly to list partitions and used/free space on Linux - I have quite a few scripts to monitor space on Windows server, but I couldn't find a good t-sql script that can actually list out partition names and space details. Does anyone have one? |
SSIS Error when trying to run a SQL Server Agent Job - SQL Server Integration Services was already installed on the target server when I backed up the SSISDB from the source server(ss2016) and restored it to the Target Server(ss2019). I then ran the related sql server agent job that executes one of these packages and I got the following error below. The only recommendation that I […] |
SQL Server 2019 - Development |
SSIS SFTP - Hi everyone I am trying to create an SSIS package that will access an SFTP site. SSIS has an FTP task but no SFTP. I read online that SSIS does not support SFTP directly. Has anyone ever set up SFTP in SSIS? If yes how did you do it? I am new to SSIS so […] |
tricky query with patterns of consecutive rows - Hi! I'm having struggle with selecting rows, that match "dynamic" rules as described: if there are 10 or more rows containing a value greater than 1000 this is my START signal if there are 10 or more rows containing a value smaller than 1000 this is my STOP signal i want everything between a START […] |
Power Query SSIS Error - Hi I am using SQL Server 2019 and Visual Studio 2019. There are two components - Power Query Source and OLE DB Database. I went to the connection manager and tested each connection. The system was able to connect successfully for both components. These "look" ok. I am getting below error when I try to […] |
General Cloud Computing Questions |
Are all learning resources just rote memorization? - Title says it all, recently got frustrated prepping for GCP's ACE with Qwiklabs because that's all it felt I was doing, just following steps, and for example altho in their Coursera courses they do explain some of the background as to why some of the components exist, I find its still missing why they need […] |
General |
How to practice OOP in C++ effectively? - I am currently writing a desktop application with Qt and C++. While I have learned some things about OOP from working on this project, I do not feel I am really using the full potential of OOP. I am not creating a lot of my own classes. I generally don't have an idea of what […] |
ASP.net C# - Dropdown List - I am working to get a drop down to work in a DetailsView with the intent to show the current value from a dataset, along with other additional values so that users can edit the data. In this example, this is a for State drop down. If my current state is DC, than I want […] |
ASP.net C# - Dropdown List - I am working to get a drop down to work in a DetailsView with the intent to show the current value from a dataset, along with other additional values so that users can edit the data. In this example, this is a for State drop down. If my current state is DC, than I want […] |