Viewing 15 posts - 1,891 through 1,905 (of 2,905 total)
To add to Jeff's reply, best practice is not always how you should set things up either. Best practice is to use Windows Authentication and not use mixed mode. I...
May 26, 2020 at 7:42 pm
Have a look at Database Health Monitor. It will give you that info and a whole bunch more. Plus it is free!
That being said, using an automated "build" or "drop"...
May 26, 2020 at 5:03 pm
To get the "VALUE" of the Property you could use:
ItemValue = q.n1.value('(.)[1]','VARCHAR(4000)')To get only the case where ItemValue is "Value", you should be able to toss that...
May 25, 2020 at 5:46 pm
One guess on this - are you closing the connection and committing the transaction in your application code?
When I've seen "stuck transactions" like that, it is often caused by the...
May 25, 2020 at 5:21 pm
Is this what you are looking for:
May 25, 2020 at 5:16 pm
I am not an expert on Browser Service either, but I am not sure it actually adds much security. If someone really wants into your system, a port probe isn't...
May 25, 2020 at 4:31 pm
So just to confirm, the stored procedure is the EXACT same query?
That is, you said the following query works:
EXEC sp_execute_external_script
@language = N'Python',
@script = N'
import pandas as pd
from...
May 25, 2020 at 3:19 pm
I am not sure on that one but the error is saying (based on google translate):
OSError WinError 10013 Access to a socket was not allowed due to the access rights...
May 22, 2020 at 9:53 pm
Pretty sure putting the logins in the datareader role should handle this.
alternately, you could generate the script it with something like:
SELECT N'GRANT SELECT ON ' + name...
May 22, 2020 at 9:40 pm
As a guess on your data, it isn't returning multiple rows in the first select subquery.
I am guessing that in the table HumanResources.Employee, the BusinessEntityID column is unique. So p.BusinessEntityID...
May 22, 2020 at 9:32 pm
My understanding (experts correct me if I am wrong) is that if the conversion is potentially possible, but the conversion is invalid, then you get NULL. If the conversion is...
May 22, 2020 at 8:57 pm
If it was me, I would look at encrypting by certificate OR by passphrase.
To see some TSQL on it:
Use those examples but instead of displaying to screen, store it in...
May 21, 2020 at 7:54 pm
To answer question number 2 about the folders, those are version numbers. 110 is 2012, 140 is 2017, 150 is 2019.
If you installed SSMS 18, it does not come with...
May 21, 2020 at 5:49 pm
I think you need to change your query a little bit to something more like this:
CREATE FUNCTION [dbo].[LastBuyer1]
(@SC1 varchar(30))
RETURNS VARCHAR(3)
AS
BEGIN
DECLARE @LB VARCHAR(3);
WITH CTE AS
(SELECT TOP 1 Buyer,...
May 21, 2020 at 5:42 pm
I was following this thread because I was curious about this too. Thanks Anthony for the answer to it.
It also bring up the question, why would you want to restrict...
May 21, 2020 at 3:20 pm
Viewing 15 posts - 1,891 through 1,905 (of 2,905 total)