|
|
|
|
|
|
|
Question of the Day |
Today's question (by Steve Jones - SSC Editor): | |
Filestream on Linux | |
I want to implement a Filestream table on SQL Server 2022 running on Linux. Can I do this? | |
Think you know the answer? Click here, and find out if you are right. |
Yesterday's Question of the Day (by Steve Jones - SSC Editor) |
A New Audit I have a brand new D: drive on my system that is formatted, but contains no files or folders. What happens when I execute this code? CREATE SERVER AUDIT audit2 TO FILE ( FILEPATH ='D:\audit' ); GO Answer: The audit is not created and an error is returned Explanation: If the path is not valid, this error is returned: Msg 33072, Level 16, State 5, Line 8 The audit log file path is invalid. Ref: CREATE SERVER AUDIT - https://learn.microsoft.com/en-us/sql/t-sql/statements/create-server-audit-transact-sql?view=sql-server-ver16 |
Database Pros Who Need Your Help |
Here's a few of the new posts today on the forums. To see more, visit the forums. |
SQL Server 2016 - Administration |
SSRS email via Subscriptions - All, Getting this error: Failure sending mail: The remote certificate is invalid according to the validation procedure.Mail will not be resent. Not sure what this means and I need to send to administrator team (3rd party) so they can correct. Thank you, |
SQL Server 2016 - Development and T-SQL |
throttle things so that use of certain linked servers get less resources - hi we use 2019 standard sql server for both our ssrs traffic and as a major homegrown dw/tabular cube source on the same server. We want to add a linked server to oracle on that server but would prefer that resource wise it get less horsepower/priority than everything else running on that server. If i […] |
Combining Two Records in to 1 - Good day Experts, How can i combine these two rows into one in sql .So i want it to be one row. Many thanks |
SQL Server 2019 - Administration |
DataBase Already Exists Metadata Error - Ahoy, Seems like i renamed my SSAS Database accidently and only changed the CAPS (Old_NAME) to (Old_Name). Now my problem is that i cant deploy the Database with the Old_NAME anymore. I have tried serveral things but it always tells me the metadata manager says that the database already exists. Problem is the solutions i […] |
Adding a 3rd (Reporting Node) to an 2 Node AG in Standard Edition. - Hello, I am looking for an efficient method to add a 3rd Instance/Node C for reporting purposes. The solution has to be: efficient/not expensive, not Enterprise Edition, Minimal licensing, Will work on 2016/19/22 not affect the Nodes A & B performance when either is Primary. Easy to manage. So far it appears the only […] |
Mirroring and database access problems during database migration - I have a system with two servers and three client workstations. Servers were configured to work as principal/mirror servers (mirroring was configured with certificates). I have two databases in SQL Server - Archive - database where we store all measurements from system and Process database. There was a need to move Archive database from disk […] |
Combining Two Rows in to 1Row - Good day Experts, How can i combine these two rows into one in sql .So i want it to be one row. Many thanks |
How to find the root cause for log .ldf file increased suddenly to 500 gb - How to find the root cause for log .ldf file increased suddenly to 500 gb we dont know what made increase in size is there any script to find the previous transactions occurred a day before or a week before to find out what transactions ran and what dll operations occurred or what long running […] |
SQL Server 2019 - Development |
Calculate Sales with different start Dates - We have a rebate program where I need to calculate sales based on the date the customer joined the program. Ex: Customer A joins the program on October 5th, 2023 and Customer B joins on December 8th, 2023. I'd like results to look at the start date and show their sales by month for a […] |
Connecting |
SPN's Validate"Good Status" in Kerberos Config Mgr- cannot gen SSPI - After Adding SPN's and Validating "Good Status" in Kerberos Config Manager attempt to log into SQL Sever Remotely Results in: The target principal name is incorrect. Cannot generate SSPI context. SQL 2017- Windows Server 2019 We have added 4 SPN entries for one of our SQL Server running as a domain account. It is a […] |
Integration Services |
How to Connect to Azure Database for MySql - Dear, I need to retrieve data from Azure Database for MySql using SSIS. I am able to connect to previous MySql database. The team has recently migrated to Azure Database for MySql. I have given all the required info in the .Net Provider for MySql database I have given port 3306 but still can't connect. Error […] |
SQL Server 2022 - Administration |
upgrade order of components - I am upgrade a SQL server 2019 instance, it has both DB engine, SSIS service , SSRS service in same server due to it only host a small application. Now I would like to upgrade it from 2019 to 2022 and CU11, My question is about the order, My order is like this, simplified: upgrade […] |
Don't report error when one Maintenence Plan Task fails - I have a Job running a Maintenence Plan. The plan performs the Backup Database, Check database Integrity, Maintenence Cleanup and Reorganise Index tasks. Occasionally the Reorganise Index task fails with the error '"Transaction (Process ID 105) was deadlocked on lock resources with another process and has been chosen as the deadlock victim....'. It runs in […] |
IS there any script to find what transactions ran yesterday or week or mont - Is there any script to find what transactions ran yesterday or week or month before in sqlserver we are not using any tools and if any issue comes we can see sp_who2'active' but if log size is full suddenly before 2 days and if we want to find the root cause why log got increased […] |
SQL Server 2022 - Development |
How to get Active counts between dates. Please - Good Morning , I have a policy table with below structure. I would like to get how many active policies by day (running total may be). Create Table #Policy (PolNumber int, StartDate date, EndDate date, Status varchar(10)) Insert Into #Policy Values (100,'2023-01-04','2024-02-22','Active') Insert Into #Policy Values (100,'2021-01-04','2022-02-04','InActive') Insert Into #Policy Values (101,'2022-01-01','2025-12-26','Active') […] |
| |
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. webmaster@sqlservercentral.com |