sql login creation
Hi All, As an admin we create sql authentication logins for application users. For those logins, we want to give the ability for the user to change the password and should never expire. To accomplish...
View ArticleDeadlock analysis - what's AutoCreateQPStats?
I'm trying to analyze a deadlock that I can reproduce fairly consistently. I can tell what one session is doing (splitting an empty partition function range), but the other one is a bit of a mystery -...
View ArticleSample Database in SQL Server 2019 format
Hi,I want to find a sample database in SQL Server 2019 format. The database can as simple as just contain one table with one record. Where can I find such a sample database file online?Thanks
View ArticleMicrosoft.ACE.OLEDB.16.0 provider is not registered on the local machine....
Trying to import data from Excel is giving this message. Office365 64-bitHere's what I tried:1) I installed the 64-bit Access database engine 20162) I tried the 2010 & 2007 versions as well3) I...
View ArticleSQL Server 2012 Database engine failed to install everytime
Hi,I am trying to install SQL Server 2012 -64 bit in our dev server running Windows Server 2012. Everytime, Database engine fails to install. I've checked the event logs it shows.Operating system error...
View ArticleSum of all Memory Clerks and Total Server Memory (KB)
I am trying to understand the memory management of SQL Server. I have a Windows Server 2019 on virtual environment with 64 GB of RAM. I also have SQL Server 2019 installed with Max Server Memory 59776...
View ArticleResource governing between SQL instances on server
Whats the best way to control resources between SQL instance on the same servers ?supposingly there are different SQL instances active on different nodes in a cluster and some nodes are downthen the...
View ArticleSQL Server 2019 Installation Issues
I downloaded the https://www.microsoft.com/zh-cn/sql-server/sql-server-downloads This one's a developer. After opening the program, he downloaded something for me.After downloading he told me the...
View ArticleDatabase 'XXX' cannot be opened due to inaccessible files or insufficient...
I am getting the following error with my database Database ' XXX' cannot be opened due to inaccessible files or insufficient memory or disk space. I have sufficient space on the drive >100gigs. Does...
View ArticleSQL Server 2019/PolyBase with DB2
Hello, I am aware that it is possible to use PolyBase with SQL Server 2019 and DB2 through an ODBC driver. Does anyone have any experience they can share with me about how well that works? Any...
View ArticleCHECKDB job failed
Hi All,The checkdb job failed with below error:Unspecified error occurred on SQL Server. Connection may have been terminated by the server. [SQLSTATE HY000] (Error 0) Cannot continue the execution...
View ArticleHow to clear SQL DB logs
1. SQL logs are continuously growing, how can I perform truncate of logs?2. I am using MS DPM 2019 server for backup solution. But logs are not getting shrink and after backup no claim of space. how...
View ArticleLog Analytics Custom Logs
I uploaded the SQL Server Error Log file with .log extension while configuring custom log in the Log Analytics Workspace. After I uploaded the log file when I try to query with Custom Log name it is...
View Articlei would like to abstract a database qualifier
hi we run 2014 std. we have 2 dbs (staging and warehouse) that are always on the same server and we often reference both in certain procs. the procs are always on staging.in order to have multiple...
View ArticleAccess SQL Server from multiple Docker container
Hi, on my Windows 10 Enterprise PC I have installed Docker Desktop for Windows and a SQL Server. In the computer management SQL Server configuration manager, protocol TCP/IP; I have the port 49172...
View ArticleSQL login error 18470
I always used Windows Authentication to login SSMS.Today it shows error 18470, user 'SERVER\Administrator' account is disabled.Although I still use the sa to login, but how does it comes? and how to...
View ArticleExporting Query results as json in Azure
Hi All.I have a SQL query, at the moment the output of the SQL query is saved as a json file, I will like to automate the process by writing the output of a query onto a storage account in Azure or any...
View ArticleSQL Server 2017 is rapidly filling up the storage automatically
SQL Server 2017 is showing an abnormal behavior and rapidly filling up the storage on the hard drive automatically. This behavior is affecting the database replication/backup process. Please help if...
View ArticleNeed help on SQL Server Licensing?
Hi All,Would like to understand SQL Server Licensing. When I run SELECT @@VERSION I get this: Microsoft SQL Server 2016 (SP2-CU13) (KB4549825) - 13.0.5820.21 (X64) May 22 2020 07:24:35 Copyright...
View ArticleDTEXEC
I inherited a server. It has Integration Services 2014 installed on it but never used. I consider running dtexec for some packages (in package mode not project mode) . There is no SSIS catalog...
View Article