i got the login failed error for user sa, but not always
so I went to server properties - security - server authentication
change to windows authentication mode
and change again to sql server and windows authentication mode, and restart sql server. this happened when i upgraded to sql 2022,
I have Service Pack 13 installed, can anyone help?