Viewing 15 posts - 1,756 through 1,770 (of 6,679 total)
Are they connecting to the listener - or directly to the server? If connecting to the listener - do you have a secondary in that AG set to read-intent? And...
June 22, 2020 at 6:35 pm
Thanks! I can't take it offline. Since users want database to be view only mode for a while. So change the db to ready only mode or rename and...
June 20, 2020 at 4:30 pm
A SQL login already has permissions to ALTER LOGIN and can use that to change their password. I would not recommend allowing them to set the password to never -...
June 18, 2020 at 7:04 pm
I would also recommend using synonyms - and possibly a separate schema for the synonyms. This would allow you to change the linked server and update just the synonyms without...
June 18, 2020 at 6:58 pm
In the article you mention PoSH as well, and my tool of choice (despite the bugs I've found and live with) is Powershell Plus Professional Edition (which is free). ...
June 17, 2020 at 8:59 pm
You will need a third-node in your cluster - licensed with Enterprise Edition. I would not put SSRS on this server - but it can be...
This third-node does not have...
June 17, 2020 at 7:15 pm
This seems to be a typical gaps & islands issue...here is another method:
Declare @test1 Table (id int, startdate datetime, enddate datetime);
Insert Into @test1 (id, startdate, enddate)
...
June 16, 2020 at 8:29 pm
Are there any entries in the mapping section above this? It seems the issue is related to the user accessing the linked server - is it possible that the sa...
June 16, 2020 at 7:38 pm
You can rewrite the script to run in SQLCMD mode:
:connect YourServerName
:out \\somesharename\somefilename.txt
Set Nocount On;
Select ...
From first_table
Where somecriteria;
...
June 16, 2020 at 6:20 pm
How is the linked server security defined? Is it a fixed username/password or do you have some type of mapping set up?
June 16, 2020 at 5:57 pm
It depends...
Why are you joining the 2 tables and what data does each table contain? For example, if table1 contains sales data - and has a column named StateID, and...
June 15, 2020 at 4:19 pm
The rounding still takes place in the wrong spot. Sergiy actually posted what is wrong that in his article this morning although he didn't include the bit of performance...
June 15, 2020 at 4:07 pm
The reason the columns do not line up is because you have commas in the data. To avoid this issue you need to set the text qualifier to a double-quote.
For...
June 15, 2020 at 1:57 pm
I would have to see an example of the un-proper format you are getting - it seems to me that would be due to the data including CR or LF...
June 14, 2020 at 3:28 pm
That is entirely possible - I don't export files to Excel. I always export to a CSV file and let the users open it in Excel - they can then...
June 13, 2020 at 4:35 pm
Viewing 15 posts - 1,756 through 1,770 (of 6,679 total)