Viewing 15 posts - 1,756 through 1,770 (of 6,676 total)
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 -...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
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...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
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). ...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
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...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
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)
...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
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...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
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;
...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
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?
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
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...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
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...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
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...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
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...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
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...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 13, 2020 at 4:35 pm
Try to output to a flat file - comma-separate values and see if that works better.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 13, 2020 at 3:59 pm
How are you exporting the data - what were the options you selected in the export wizard? It should not preface a field with a single-quote like that...
It looks like...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 12, 2020 at 3:40 pm
Viewing 15 posts - 1,756 through 1,770 (of 6,676 total)