Viewing 15 posts - 2,101 through 2,115 (of 6,676 total)
You can use OUTER APPLY to get the value:
Select f.rptMth
, f.Buiding
, f.Unit
...
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
November 11, 2019 at 9:14 pm
Logins and users have an assigned SID - if they are SQL logins/users it is assigned by that instance, if it is a windows login it is assigned by AD...
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
November 11, 2019 at 6:41 pm
Because logins have user mappings, I though that a login had to be mapped to a database user for the person to get those database permissions. Apparently not... having...
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
November 9, 2019 at 5:44 pm
Are you rebuilding your indexes every night - for example, through a maintenance plan? If so - then every page in the database is being updated and therefore needs to...
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
November 8, 2019 at 8:08 pm
I did a quick search for that error - it is most likely a permissions issue, but without more information it isn't possible to identify. It could be a password...
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
November 6, 2019 at 10:43 pm
problem is each select statement is coming from different tables. first select statement is form student table, second one is form studentbook and 3rd is from studentarchive.
all tables has...
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
November 6, 2019 at 10:39 pm
Reformatting the original query - I was able to reduce your individual steps to this:
Select std.Name
, std.StdID
...
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
November 6, 2019 at 10:09 pm
You can use Power BI Report Server - but it has to be purchased and licensed (of course). It is separate from SSRS - but can also host standard SSRS...
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
November 6, 2019 at 9:53 pm
I am not sure what file you are trying to attach - or how that file is generated. It seems to me you want to generate the file from a...
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
November 5, 2019 at 9:48 pm
How are you creating the file? That is most likely the problem here - as that process (and SQL Server) would then have a lock on the file.
Are you aware...
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
November 5, 2019 at 6:51 pm
sp_help_revlogin creates a script that can be run on the other server to create the logins. Be aware that it scripts out *all* logins and will attempt to create those...
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
November 5, 2019 at 6:43 pm
Declare @tempAddress Table (
Id int
, Name1 varchar(10)
,...
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
November 5, 2019 at 6:30 pm
I also agree with Drew and Jeff - but will also add that using -1 is actually more standard (in my opinion) than using an additional dateadd in the function:
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
November 1, 2019 at 7:13 pm
Have you confirmed that nothing else is using memory on the server? Not sure a low PLE is a problem - that has to be considered with the normal usage...
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
October 31, 2019 at 10:13 pm
According to the log file you provided - some other process has locked the .ldf file and is preventing SQL Server from bringing that database online. When SQL Server cannot...
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
October 31, 2019 at 9:42 pm
Viewing 15 posts - 2,101 through 2,115 (of 6,676 total)