Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Development |
SQL 2017 server keeps locking up - I manage a two-node production SQL cluster running SQL Server 2017 CU31 on Windows Server 2019, which hosts one SQL instance and over 20 databases. As the system administrator, I’m responsible for keeping everything operational, but I lack advanced SQL debugging skills. For nearly a week now, I’ve been dealing with a frustrating issue: the […] |
SQL Server 2016 - Development and T-SQL |
Log Shipping of Production DBs in OffSite Disconnected Environment - Hi, We have some Windows Workstations Standalone and in Workgroup, and they all have SCADA application with SQL Express 2016 for writing Real-time Alarms to SQL DB and occasional reading. We are procuring a Server machine to be utilized as Centralized Database Server/Log Server. It will also contain SQL Server (Standard or Express depends upon […] |
Development - SQL Server 2014 |
Display Data - Hi I want below data to appear like below using query CREATE TABLE [dbo].[Test]( [DocEntry] [int] NOT NULL, [Itemcode] [nvarchar](50) NULL, [Linetotal] [numeric](19, 6) NULL ) ON [PRIMARY] GO INSERT [dbo].[Test] ([DocEntry], [Itemcode], [Linetotal]) VALUES (34676, N'2560209620', CAST(15400.000000 AS Numeric(19, 6))) GO INSERT [dbo].[Test] ([DocEntry], [Itemcode], [Linetotal]) VALUES (34676, N'2560512620', CAST(7700.000000 AS Numeric(19, 6))) GO […] |
SQL Server 2019 - Development |
how do you explain the cardinal sin of warehousing to the chiefs? - hi we have an army implementing a mfg erp migration to netsuite. When they were in the sandbox, their customer, ship to, bill to and product codes were "external" columns. One or two might have been substrings of external columns but that was fine with me. When they went to their more qa like environment […] |
using Sql without using Pivot . - Hi How to get the below data we can create dynamically using Sql in a Table and then display using query. I will not be using Pivot . I want to display data like below without Pivot. Locations can be more. How it can be done without using Pivot Location 1 Location 2 Location […] |
Stored procedure - Delay validation - I have a utility stored procedure of the form: CREATE PROCEDURE [dbo].[sp_Utility] @rule [varchar](8), @result [int] OUTPUT AS BEGIN IF @rule = 'Rule1' BEGIN SELECT @result = [result] FROM [dbo].[table1] OPTION (TABLE HINT([f], INDEX ([idx_table1]), NOLOCK)) END IF @rule = 'Rule2' BEGIN SELECT @result = [result] FROM [dbo].[table2] OPTION (TABLE HINT([f], INDEX ([idx_table2]), NOLOCK)) […] |
Analysis Services |
The attribute key cannot be found when processing - Hi , Im Facing the Below Issue in Ananlytics. We have a Inventory Partition which is connected to WareHouse Dimension. Error Message: Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'T2_PieceInventory', Column: 'StorageID', Value: 'ERETURNS'; Table: 'T2_PieceInventory', Column: 'WarehouseLocation', Value: '3PL'. The attribute is 'Storage Location'. Errors in […] |
Strategies and Ideas |
Alternatiives to Junk Dimensions - Hello SSC, I am not sure if I posted this in the right spot, but I have a data warehouse question... I have a star schema with a "junk" dimension. I have never encountered junk dimensions before and from what I understand, they are simply dimensions that have no correlation to the fact table, but […] |
Integration Services |
Call Snowflake Stored Procedure using SSIS Execute SQL Task - Hi I am getting the below error when trying to call a Snowflake stored procedure in SSIS 2017 using Execute SQL Task. Any ideas on how to resolve it. I have confirmed the procedure works when calling from a Snowflake Worksheet. Error: 0xC002F210 at Execute SQL Task, Execute SQL Task: Executing the query "call procedure_name." […] |
Resumes and Job Hunters |
Job requires X years of SQL... How do you respond? - I can't even tell you how many jobs I've seen that require "X years of SQL experience". How do you know when you're near what that would be? For me, that's a nonsense metric. In theory, at one job, I did 8 months of SQL stuff, when in reality, I did the same things over […] |
Presentations and Speaking |
Solutions for Environmental Testing | Fare Labs - The state-of-the-art FARE Labs Environmental Testing Laboratory provides a comprehensive variety of testing services to evaluate product performance in various environmental settings. Check out this website: https://farelabs.com/services/testing/environment-pollution-testing-lab |
SQL Server 2022 - Administration |
Database restoration slowed down abnormally. - I'm running some restoration activity as part of a rehearsal to prepare for an actual SQL server upgrade from 2008 to 2022. We're planning to restore the backups taken on 2008 R2 database to SQL 2022. Our backups are stored in a storage shared between the old & new servers. We have completed this activity […] |
Entra authentication Express version - I have a paleontological database, currently in SQL Server 2016, active since 2008 R2. People use it via an Access app and ODBC connection to the server. Our organization started using Active Directory right about the time I first created this system, so I enthusiastically embraced the concept of domain groups. Besides the basic departments, […] |
SQL Server 2022 - Development |
best tool for documenting your databases (more design decisions etc) - Any suggestions for a good tool for documenting a database and all the important objects in it? I'm trying to use Azure Data Tools, but not a huge fan. Maybe that's my best option, though? |
SSIS Execute Process Task forfiles not working - I'm trying to use forfiles in an Execute Process Task in my SSIS package to delete files older than 10 days. When I run the cmd directly from commandline it works. But, when I run the same command from the Execute Process Task in my SSIS package nothing happens and no error is thrown. I […] |