Jobs running indefinitely - Hi, I have an sql server 2017 enterprise and sometimes (not always), when it runs a job (the jobs he...
SQL Database Documentation - We have a situation where the Lead SQL Developer is leaving the company and he says there's no documentation on...
parsing log data - hi everyone, i have case to parsing the log data like this on sql server { "Name": "David", "Gender": "Male", "Address":...
formatting T-SQL - Hi, I found one formatter online, but wanted to know if you use any tools to format the T-SQL code , before...
Partioning Huge Table (650GB about) - Hi all, in my data warehouse (SQL Server 2016 Std) I need to maintain 36 (!!) versions of a table in order...
Stored Procedure Analysis and Design - I’m pretty new to Sql and I’ve been given a set of reports I need to develop. Specifically, I’ve got...
Translation to valid TSQL - I've been trying for the past hour to nest a case in another case. How can I say this exactly?
Best way to SELECT with one Case Expression - I have three seperate tables that can be joined to eachother. For examples sake We'll call them three tables MainTableOne,...
Entity Framework and SQL - Hi Experts, Our dev team is using Entity framework and now all the DB calls are written in code. Since there...
Move some tables onto a different database. - Hi Y'all I'd like some advice. My problem is there are a pair of audit log tables (AuditLog and AuditLogDetail) that...
Rows into dynamic columns - I have a table with name and Amount Name Amount rita 100.00 rick 100.00 sam 150.00 harry 200.00 heather 290.00 James 200.00 I was wondering if I can do a dynamic pivot on Am
BCP Error - Hi All: I'm trying to import data using bcp however, my I keep getting the below message. I have checked the...
Adding Indexes to Tables - Hello, How can I determine if an Index should be added to a table? Should this be done by running each...
Archiving when 2 tables are sharing the same partition scheme and same partition function - Hi everyone, Need some help in confirming/understanding the behavior of my archiving process. Table1 AND Table2 are using partition scheme PSD01. Both...
Delete and shrink data file - Hi guys I just deleted a lot of rows in a table to gain more disk space . and did shrink...
please help !! Dynamic SQL - Hi experts Please I REALLY NEED YOUR HELP !! I want to create a dynamic sql in a cursor. I want to replace...
Standard Deviation (variance) using columns in same row. - Is there a way to get a variance from two columns in the same row? I have a row that...
Report Columns not summing correctly. - Hello, I am using report builder 3 to build a report. The report is based on three tables and two datasets. The...
Problem with interactive sort when dynamically changing group - Hi folks, I have row groups as such: ParentUnit -> Unit -> Details I created a parameter to change the ParentUnit Row Group grouping from...
Need help to extract unstructured excel data to sql server - I have 12 different Excel files which are having multiple tabs in every file and data in really unstructured. What's...