Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Administration |
Why did the SPN's disappear? - Ran into a very puzzling issue this morning: a 2017 SE server suddenly lost all its SPN's, and I can't figure out why or how. Background: The service account was changed on 7/18, and the SPN's under the old account were deleted and new SPN's under the new account created. All was well. On 9/27, […] |
Guide on MySQL server - I am working on a small company and still new to production of a mobile application. I am currently building a mobile application using .net web api and I have decided to use MySQL server as my database and may i ask is it correct if I just install MySQL server on my windowns laptop? […] |
SQL Server 2017 - Development |
Recursive CTE/Bill of Materials question -- how to get only lowest level? - I'm trying to sort out someone's Bill of Materials process that's happening half in Access VBA and half in SQL Server, so if I sound confused, well, I am. I'm trying to return a "shopping list" of all the components necessary to build everything in the work order. (If you use the AdventureWorks2017 database as […] |
SQL Server 2016 - Administration |
Ola Hallengren backup failing with syntax error - Hi experts, Just curious if anyone has a quick answer to this. If not, I will email Ola Hallengren about it. I set up Ola Hallengren's Database Maintenance Solution Version date: 2019-06-14 00:05:34. I tested out the scheduled full user database backup. It failed with this error: Executed as user: ... . Incorrect syntax near […] |
Point in Time Restore from only Full Backup - We take a Daily Full Backup, a Differential Backup every 4 hours, and Log backups every minute. We retain Full and Diff Backups for 1 week, and Log backups for 24 hours. I understand that to do a point in time restore for today, I'd restore the Last Full Backup, the latest Diff Backup, then […] |
High Avilabilty Secondary Server Error: 976, Severity: 14, State: 1. - Error Occurred in Secondary Server But both Primary and Secondary Server Data Synchronized No Data Loss The target database, 'DBName', is participating in an availability group and is currently not accessible for queries. Either data movement is suspended or the availability replica is not enabled for read access. To allow read-only access to this and […] |
SQL Server 2016 - Development and T-SQL |
SQL Server 2016 timeout weird error - Dear All, I have a win form c# 4.5 app which connects to SQL server 2016 DB, most of the functions work correctly. For one of the functions, we make a simple 'select col1,col2 from table' query (datareader) we get below error Inner exception:: System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out. The same works fine […] |
Time difference based on values within other columns - Can you help? I have a table like below. ID SrNum Status Time 1 1 Begin 9/29/2019 9:00:05.656 AM 1 2 Request Info […] |
Administration - SQL Server 2014 |
ssisdb in alwayson - Good morning all, We have implemented the following architecture: Server A: SQL 2014 Entreprise + Integration Services Server B: SQL 2014 Entreprise+ Integration Services We created an AlwaysOn availability group (Basics) using both servers as replicas, and protecting the SSISDB database. The problem we are having is that during a flip-flop, we have to reopen […] |
RHS crash - We had an outage where RHS windows cluster service got restarted because the file share witness was not accessible. We are trying to replicate it on test environment but failed to do so. Environment: windows server 2012 R2 standard SQL 2014 Appreciate if anyone can guide me in the right direction on how to replicate […] |
Development - SQL Server 2014 |
Sql script Transpose Multiple Column into Rows - Hi i've the current situation DtCont | DtCont | DtCont | --------------------------------------------------------- "20180229"|"20180330"|"20180428" and i need the follow result |DtCont | ------------------------------------------ |"20180229"| |"20180330"| |"20180428"| With Unpivot is not possible,only solutuon i find is create a sequente of select with union select a.PM_DataContabileBKI as r0 […] |
SQL Server 2008 - General |
Adding a formula to Computed Column Specification formula in SQL Server 2008 - I am trying to add the following query to the formula property to calculate minutes to hours. (CONVERT(char(5), DATEADD(MINUTE, convert(int,[sun_total])), '19000101'), 108) as MinuteToHour) If i run it using a Select statement t it works fine but when I add it to the formula box without the SELECT it errors. The sun_total = 150 […] |
Integration Services |
SSIS merge 2 files with different columns - Hi I am trying to create a pipe delimited file with double quoted qualifier. It also needs to include a header and footer row. The data comes from SQL and outputs like so.... "1"|"Hello"|"a column"|"a person"|"a thing" "2"|"Goodbye"|"another column"|"another person"|"another thing" The header should read : HEADER|YYYYMMDD The footer should read : FOOTER|YYYYMMDD|2 <-- this […] |
SQLServerCentral.com Announcements |
Status Update 30 Sept 2019 - SPAM Reporting - It's been awhile since I posted, mostly because we transitioned out of migration mode to ongoing support mode. There is still some work being done, but it's prioritized around other work on other sites. There are two good changes made this past week. HTTP/2 is now being used, which should speed up some of the […] |
SQL Server 2005 Integration Services |
Determine user SSIS package run as - I have an SSIS package that is failing. The SSIS package was built in Visual Studio 2005, and is run from a SQL Agent Job on a server running SQL Server Management Studio 2005. The job uses a FileWatcher task to monitor an FTP site (accessed via a network share) and looks for xml files […] |