Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Development |
Remove some text - I would like to remove rtf from my Note column. I tried this: SELECT Note, LTRIM(Note, 'rtf') from [PatientNote]. I get an error. Please advise? I also tried the Replace function, but no text are altered/deleted. |
OPENJSON - unnamed nested array - Currently working on sql script to extract from JSON file(s) but i've come across an unnamed array within a named array Wondering if anybody had any idea how to extract this? rest of my script is working fine using CROSS APPLY OPENJSON to extract what i require and where the arrays are named i'm having […] |
Trigger: Need help to save activity log on delete - Hi, My table design as following, CREATE TABLE [dbo].[SFAProject]( [Id] [int] IDENTITY(1,1) NOT NULL, [TenderName] [varchar](200) NULL, [ClientsId] [int] NOT NULL, [SalesPersonId] [nvarchar](450) NULL, [SFAStageId] [int] NOT NULL, [SFATenderCategoryId] [int] NOT NULL, [SubmitDate] [date] NOT NULL, [TenderValue] [decimal](18, 2) NULL, [TenderCost] [decimal](18, 2) NULL, [TenderRemark] [varchar](500) NULL, [CrtBy] [nvarchar](450) NULL, [CrtDte] [datetime] NULL, [UpdBy] [nvarchar](450) […] |
SQL Server 2016 - Administration |
Slow SQL Server Performance PAGEIOLATCH_SH, CXPACKET help! - Hi All, (see attached waits) I have a very slow sql server, it seemed to happen over night and queries are still slow. index rebuild/reorg and statistics have been updated. what are my troubleshooting options? |
AG changed to Distributed state - Hi, AG Listener does not get connected application due to Availability Group name (primary) changed to Distributed state automatically and second node Availability Group name resolving state, also both the nodes databases not synchronized. Please suggest what could be reason and why automatically AG state changed? Availability Group name - existing setting was Manual failover […] |
SQL Server 2016 - Development and T-SQL |
SQL Server Jobs - Retry Attempts - I know in SQL Server jobs, if a step fails, you can set the number of retries and interval. What I want to do though is if a step fails, retry the entire job from Step 1, not just the individual step. The reason I need to do it this way, is that the first […] |
Order of processing of windows function - Hi Experts, Please can you let me know the order of processing of the window functions, The second in order DENSE_RANK is executed first before the first one, is this right ? when I add group by to the below commands, there is no change whatsoever. May I know why group by has no impact […] |
SQL 2012 - General |
Scalability in SQL and NoSQL? - Hello All, I am working on a web application project and I want to know which database design is right from a scalability point of view between SQL and NoSQL. According to this source, SQL is vertically scalable (Add resources to increase the capacity of the existing hardware and software) and I have no idea […] |
SQL Server 2019 - Development |
Refactoring an Entity Attribute Value schema - Apologies in advance, as I know this has been discussed a million times already but I think our requirement is slightly different from the norm in that we have a well-defined, static set of attributes up front and our values are rows in a table. But feel free to ignore if you've had enough of […] |
Amazon AWS and other cloud vendors |
AWS S3 Questions - Hi all, Just starting out with AWS and had a few questions.. What are requests? And what constitutes a request? How can I figure out how many requests my backup product (Veeam, Rapid Recovery) will be making? Our backup products do not support directly backing up to glacier, and I'd like to save costs as […] |
General Cloud Computing Questions |
Few questions about cloud computing course - Hi I'm currently doing a networks management degree level 7. I'm in the final year of the level 7 and I'm the only one in the course who wants to go onto the level 8 add on cloud computing and infrastructure. 1: would the college still do the course if I was the only one […] |
Azure Data Factory |
ODBC Source into Data Flow Activity - I would like to work with an ODBC source in Azure Data Flow. However I understand that ODBC is currently not a supported Data Source. It was recommended on the Microsoft website that I move the data into into a supported data source and then use that in the Data Flow. Does anyone know of […] |
Reporting Services |
Dynamic Drop Down in SSRS - In SSRS reporting, is it possible to dynamically drive drop down values based on a main table and sub table? (e.g. Category and SubCategory). For example, I have the following two tables: -- DROP TABLE #c CREATE TABLE #c (CategoryID int, CategoryDesc varchar(100)) INSERT INTO #c VALUES (1, 'Fruit') INSERT INTO #c VALUES (2, 'Veggie') […] |
Create 1 calendar for each student - Hello! I'm attempting to replace a clunky mail merge process with SSRS 2016. The data is the attendance code for a list of students on each school day of a month. (picture Columns: Student_id, School_Date, Attendance_Code for a given month) I need to depict their attendance on a calendar, simply placing the contents of Attendance_Code […] |
Integration Services |
Split column on Data Types - Please assist? I would like to split column Event in two columns based on data types. |