Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Administration |
There are no SQL Server instances or shared features that can be updated -2017 - Hi Please Assist. I am trying to install SQL SERVER CU 22 on SQL server 2017. Currently installed CU 20. I am getting this error message: 'There are no SQL Server instances or shared features that can be updated on this computer' |
SQL Server 2016 - Administration |
Firewall access for Availability Group listeners - Hello experts, I have a noob question as I never feel like I understand enough about networking. Suppose I have a client CLIENT01 that I want to allow to connect to listener MyAG01 (IP 2.2.2.2). Behind MyAG01 (IP 2.2.2.2) are three nodes: MyNode01 (IP 4.4.4.4) MyNode02 (IP 5.5.5.5) MyNode03(IP 6.6.6.6) I can't grant access myself […] |
Error - can any one help on ho wto solve the issue [Microsoft][ODBC SQL Server Driver][SQL Server]The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. IES 10901 |
SQL Server 2016 - Development and T-SQL |
Export nvarchar(4000) to Excel - I'm trying to use the SSMS 18.7.1 Export Wizard to export to an Excel 2010 xlsx file. Per this https://docs.microsoft.com/en-us/sql/integration-services/load-data-to-from-excel-with-ssis?view=sql-server-ver15 you should have "first few rows" with > 255 characters in that field. I can see that in the mapping to Excel it will create a data type as LongText for it. During run I […] |
Development - SQL Server 2014 |
Inflow / outflow report per day - Hello, I have two simple tables: Invoices InvoiceID Date Value and PaymentsReceived PaymentID Date Value I want to generate a report which will display day by day the cashflow (total invoices - total payments received). |
SQL 2012 - General |
SQL services not starting after upgrading TLS 1.0 to TLS 1.2 - when we are upgrading TLS 1.0 to TLS 1.2 , SQL services are not starting |
SQL Server 2012 - T-SQL |
not able to use my user defined function - I have a function I have created and need some help in how to use it in a query: CREATE FUNCTION [dbo].[fnGetSeconds] ( @TimeFormatted varchar(max) ) RETURNS decimal(10, 2) AS BEGIN RETURN (SELECT (LEFT(@TimeFormatted,2)*3600) + ROUND(DATEDIFF(MS, 0, '00' + RIGHT(@TimeFormatted,LEN(@TimeFormatted)-2))/1000.0,0) AS 'TimeSeconds') END --Need to use it in the query below: select [call_id], [call_time], --convert […] |
How can I exclude records from this table? - How do I exclude the "Appointments" that are not adjacent to a "Discharge"? This is a patient with doctor visits and hospital discharges. If you order by the VisitDate, you will see a chronological record for the patient. I need to identify the last doctor visit before discharge then, the next appointment after discharge for […] |
SQL Server 2019 - Development |
If SQL Agent Job takes longer than @X minutes, get notified. - If Agent Job takes longer than @X minutes, we want to be notified. What is the best way to implement this? |
Reporting Services |
Report based on dynamic columns - Hi all, Can anyone help please? I am trying to do the below report, but not going anywhere with it. I have got 5 org levels: Level 1, Level 2, Level 3, Level 4, Level 5 And i would like to see the report from manager's point of view, so if a manager is at […] |
Unable to create report in VS 2017 - I have downloaded and installed Visual Studio 2017 and can connect to SQL Server databases but I'm not able to create a report solution/project. I thought I installed data tools (?) Thanks for any help! |
SSRS 2016 |
SSRS site settings security and Home folder Security - I am rewriting 100 or so reports on a SSRS 2012 server and migrating to a SSRS 2017(2016) server. I cannot find a good reference showing what site settings security is in relation to our users security groups and how that interacts with Home folder security. On SSRS 2012 not sure how it was originally […] |
Powershell |
Get data from last line and merge into data stream before removing - This script reads thru a file and removes the last line, but before it does that can I grab a value from that last row and add it into my output stream? The value in the last line as an eye-catcher of $X and then grab the values from the 3rd position until it hits […] |
Integration Services |
Disable Package Expression - Hi SSC, I've got 2 Project Variables which I use to control wether a package should run or not through the Disable Package Expression so I've got myself some neat and tidy Project variables let's call them [$Project::DISABLE_TILDE_RELOAD] and [$Project::DISABLE_ARCHIVE_RELOAD] If I have only one of them, for example [$Project::DISABLE_TILDE_RELOAD] , the expression @[$Project::DISABLE_TILDE_RELOAD] […] |
T-SQL (SS2K5) |
conversion of excel formula to case statement in tsql - Hi all, need your help on conversion of excel formula into case statement. i tried but missing only one case. below is excel formula: =IF(AND(Q141="EndOfDay", AD141="EndOfDay",V141=""),8, MIN(8, IF(OR(Q141="EndOfDay"), 0, IF( AND( OR(Q141= "Paused", Q141= "PlannedBreak", Q141= "Completed"), AD141="EndOfDay" ), MAX(0,T141-7), IF(Z141="",0, (ROUNDDOWN(Z141/10000,0)+(ROUNDDOWN(RIGHT(Z141,4)/100,0)/60)+(ROUNDDOWN(RIGHT(Z141,2),0)/(60*60)) ) - (ROUNDDOWN(J141/10000,0)+(ROUNDDOWN(RIGHT(J141,4)/100,0)/60) +(ROUNDDOWN(RIGHT(J141,2),0)/(60*60)) ) ))) )) Thanks Abhas |