Viewing 15 posts - 181 through 195 (of 300 total)
A thought (it happens :-)):
Have you tried looking at and comparing the routing tables on both servers to see if packages take the same route from both sides? Done a...
February 11, 2022 at 3:04 pm
Have you tried string.Split(new string[] { "|--|" }) ?
The split function is actually expecting an array of strings.
https://docs.microsoft.com/en-us/dotnet/api/system.string.split?view=netframework-4.5
February 9, 2022 at 2:26 pm
I retract my comment about HostRecordTTL being able to influence the stability of a connection. I saw TTL and somehow immediately assumed it was related to network TTL. Which...
February 7, 2022 at 1:55 pm
In this document, it mentions a related windows task when setting up an AG of setting the HostRecordTTL . I'm guessing that that's a setting that could influence the stability...
February 7, 2022 at 9:19 am
This is me guessing, but according to this article the SQL Browser Service uses UDP on port 1434. So maybe you're not allowed to use UDP on that port?
February 4, 2022 at 5:37 pm
This is an old thread and the tools are shifting. Today Azure Data Studio is the better tool for this kind of work. It has an export to Excel built...
February 1, 2022 at 9:29 pm
I have a table Table A with a flag like below. I am getting the latest record for ID based on latest date. Something like below.
But I need to...
February 1, 2022 at 8:07 pm
When assigning values to a numeric data type (int, decimal etc) you wrap the values in single quotes.
DECLARE @Size bigint;
SET @Size = 100;
Copy/paste error, I'm guessing? As...
February 1, 2022 at 4:43 pm
I can only join the chorus in advicing you to define table columns correctly, according to use.
If a column is to contain numbers then define it as such (int, dec,...
February 1, 2022 at 3:27 pm
I can make the msdb.dbo.agent_datetime function fail by supplying an invalid date value, such as 0 (zero). If you have invalid date values in your job history, and I'm...
February 1, 2022 at 8:02 am
In my case the SQLAgent script chokes on a disabled job where the date and time values passed to the function msdb.dbo.agent_datetime(R.run_date, R.run_time) are null values.
January 28, 2022 at 1:56 pm
I'd like to try SQLAgent but I get a conversion failed error. Can the author take a look a that?
Same here. Two Agent jobs returned and then the script...
January 28, 2022 at 1:33 pm
I'm no expert on MySQL at all (never used it), but I'm a little confused about the reference to MariaDB in the error message. I know MariaDB started out from...
November 30, 2021 at 6:06 pm
Okay, yes, you are of course correct. GO is not a TSQL instruction, so it cannot be used in a stored procedure.
I would try to split the code into two...
November 9, 2021 at 3:22 pm
You probably have to insert a batch separator (the standard batch separator is GO) before your -- SOME LOGIC section.
tsql - SQL Server: What are batching statements (i.e. using...
November 9, 2021 at 2:18 pm
Viewing 15 posts - 181 through 195 (of 300 total)