Data Source (SSAS database) into SSAS Tabular project
Hello, I am trying to make an aggregated table in my tabular project where the source of this table will also be a table of a tabular model. In summary, what I did was as follows: I created a MS Analysis Services database Data Source with a DAX query…
VCWare Snapshot - WFCS and AG
I am hoping someone can provide some insight into this subject I have been working with SQL Server for several years, but have not had the pleasure of working much with the Windows Failover Cluster Service and Availability Groups. In my new role I am…
Create a stored procedure that checks a status, validates, then update status?
I have the following "Handshake" table: CREATE TABLE [dbo].[Handshake]( [Report Year] [varchar](100) NULL, [Status] [varchar](100) NULL, [Update Time] [datetime] NULL, [Process Time] [datetime] NULL ) ON [PRIMARY] …
PerfLib 2.0 counter removal failed with exit code 2, when installing MSSQL 2019
I fail to install MS SQL Server 2019, develeoper license. I've tried basic, customized, downloaded media, run as admin, standing on my head. But everything ends with "PerfLib 2.0 counter removal failed with exit code 2". I found a bunch of…
Subscribe status showing Expire soon/Expired in transactinal replication
I am using SQL Serve Enterprise Edition (64-bit) and in this i am using transactional-replication with on Publisher , one Replication Distribution Agent with four Subscriber. everything was going smoothly but now when i am seeing my replication in SQL…
TempDB does not release space after restart
Hi Team, In one of our Production Environment we had a tempdb growth due to bulk transaction and occupied the drive space , we were not able to shrink the datafile and release space , there were no active transactions on tempdb , we tried…
SSRS 2014 SMTP settings
My server has been emailing reports from SQL fine but changes to O365 seem to have caused it to stop accepting mail without authentication via username and password. SSRS 2014 does not have settings for this in the Configuration Manager and the…
how to get values from multiple tables and then perform calculations
i have three tables named Users,Packages,UserPackage this is my users table this is my userpackage table this is my packages table U_ID is foreign key from Users table in userspackage table and P_ID is foreign key from Packages…
How to write update statement to table statusvalues where chemical id have more than one chemical status ?
How to write update statement to table statusvalues where chemical id have more than one chemical status ? I work on SQL server 2012 I face issue ; I can't update status on table statusvalues where chemical id have more than one status as example …
How to update status to match Characters Based on position of letter charachter before and after stars?
I work with SQL Server 2012 and I have an issue: I can't update status to match characters where signature key have stars *. I need to update status to match characters where signature key have starts as example Signature Key Group Id Portion Key Status …
CDC_Capture Job Failure
Hi Guys, We enabled CDC on SQL server 2016; and observed CDC job fails intermittently; what happen CDC capture job is in fail state for more than 2 days; when we restart job, does it catch all the delete/update/insert records? We observe our down…
How to Remove additional speces after add Replace function
Hi Team, Currently i have faced issue as a after add replace function to SQL column to remove comma, then output parsing as a addotional spaces on the SQL column data feilds, According to i have used below trim method but its not worked, Could you…
SQL Server logon failure occurs frequently (Error: 17189, Severity: 16, State: 1.)
SQL Server logon failure occurs frequently (Error: 17189, Severity: 16, State: 1.) Hi, [Environment] Microsoft Windows Server 2012 R2 Standard The maximum server memory of SQL Server for the DB server is set to 4096(MB). ---systeminfo--- …
How to update status to not match charachter in case of signature key not have stars * ?
I work on SQL server 2012 I face issue I need when signature key group id have starts only then not compare value with portion key as line or row 3 and 4 meaning if signature key group id have stars only then not update status to not match…
using EXEC on SQL statements
qryS Select avg(len(Question)) FROM dbo.Student_Question Select avg(len(Answer)) FROM dbo.Student_Question Select avg(len(Learner_Id)) FROM dbo.Student_Question I’ve got a table with the following column (it also has other columns). I…
Synchronous AG nodes in different Availability Zones
Is anyone running a Primary AG node and synchronous AG secondary in the same region but a different availability zone? I would think this would be good practice to hardening against data center failures but an concerned about commit latency associated…
Finding a program similar to Crystal Reports (used by VB6)
Hi! Not really sure about all the functionality Crystal Reports brought to the table, but it seems that it was in heavy use during the 90's - I do not know that status of this tool today. I am taking over an old VB6-application using Crystal Reports,…
Is it possible to have a link in SharePoint online to a dynamic report from an on-site SQL database?
I am seeking to use an existing SQL report to interrogate an on-site database but this be done from a SharePoint online interface, is this possible? If so, what is the architecture required to achieve this within the O365 tenant security bubble? TIA, …
SSAS DB Synch job hanged - Profiler shows 'Lock Acquired' but no 'Lock released' -where is the problem?
SSAS DB synchronization job (using xmla via ssis) usually takes 30 minutes to complete, but is getting hanged for indefinite time until I terminate it forcefully. Even I terminate it, it do not release physical memory and also can not restart a manual…
SQL Server on Linux: Change file location of system databases model and msdb
I am trying to use SQL Server on Linux. This works pretty well. But I want to change the data location. I followed this tutorial: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver15#datadir. Now my data…