Viewing 15 posts - 151 through 165 (of 1,409 total)
sqlserverDBA2016 (10/30/2016)
I'm not an expert in powershell that's why I was askingIs there any other way beside pow
ershell
It can't be done directly from T-SQL, so you'll need an external tool...
October 30, 2016 at 6:36 am
sqlserverDBA2016 (10/29/2016)
Sorry but there's only one command there : get services sqlWithout any explanation on where or how to run it, is it on cmd or where
If you read the...
October 30, 2016 at 5:23 am
The option FOR ATTACH_REBUILD_LOG will use the LDF-file if it exists on disk. If you really want to create the database with a new LDF file, you'll first need to...
October 28, 2016 at 7:19 am
Duplicate of this thread. Only respond on the other thread.
October 28, 2016 at 7:14 am
I think your question is answered by this thread on dba.stackexchange.com:
http://dba.stackexchange.com/questions/77016/how-to-obtain-sql-feature-list-from-the-command-line
October 28, 2016 at 4:27 am
I have never tried this on a system database, but in the documentation it is not mentioned it cannot be done.
FOR ATTACH_REBUILD_LOG
Specifies that the database is created by attaching...
October 28, 2016 at 2:39 am
Take a look at sqlstudies.com[/url]. Kenneth Fisher has nice scripts under the "Free Scripts" menu to script out all instance or all database permissions.
October 28, 2016 at 2:19 am
torrid.inundate (10/28/2016)
DECLARE@return_value int
EXEC@return_value = [dbo].[testingpurpose]
@StartDate_in = '01-JUN-2016',
@EndDate_in = '14-06-2016'
SELECT'Return Value' = @return_value
Go
Msg 8114, Level 16, State 1, Procedure testingpurpose, Line 0
Error...
October 28, 2016 at 1:44 am
WhiteLotus (10/27/2016)
Only 1 filegroup which is primary and 1 data file
The result of your query is as below ( I cut some information...
October 28, 2016 at 1:26 am
Perhaps this gives you the insight about the cause:
http://serverfault.com/questions/390026/being-flooded-with-security-event-id-4793-windows-2008-r2
These articles mention it has to do with the Password Policy Check.
October 27, 2016 at 4:02 am
Briceston (10/27/2016)
<snip>
Data Age
Account 1 46
Account 2 36
Account 3 37
Account 4 ...
October 27, 2016 at 12:57 am
You can first convert/cast the "age" value to a decimal, like this:
if OBJECT_ID('tempdb..#Age') is not null
drop table #Age
create table #Age (Account int, Age int)
insert into #Age
values
(1, 46),
(2, 36),
(3, 37),
(4,...
October 27, 2016 at 12:52 am
Ed Wagner (10/26/2016)
HanShi (10/26/2016)
Jeff Moden (10/26/2016)
1. Set the SIMPLE...
October 26, 2016 at 12:19 pm
Jeff Moden (10/26/2016)
1. Set the SIMPLE recovery model.
2. ...
October 26, 2016 at 11:44 am
Here's an article to help you troubleshoot: Troubleshooting Access Violation caused by Database Backup in SQL Server 2008/R2[/url]
The article is for SQL2008R2 but perhaps it can also be applied to...
October 26, 2016 at 8:11 am
Viewing 15 posts - 151 through 165 (of 1,409 total)