Viewing 15 posts - 16 through 30 (of 583 total)
does the account have write permission to the file location? Sometimes local admin doesn't always mean account has free reign over everything.
another option instead of adding permission to the AD...
December 10, 2015 at 8:00 am
bherbert (10/28/2015)
When I Run that query, I get the below error...Msg 245, Level 16, State 1, Line 1
Conversion failed when converting the nvarchar value '20VM' to data type int.
I would...
October 28, 2015 at 7:44 am
this should work
SELECT [Name00],
[IP_Addresses0],
[Model00],
datefromparts('20'+substring(Name00,7,2),substring(Name00,5,2),01) as DateDeployed
FROM [System_IP_Address_ARR]
inner join [Computer_System_DATA]
ON [System_IP_Address_ARR].[ItemKey] = [Computer_System_DATA].[MachineID]
WHERE datefromparts('20'+substring(Name00,7,2),substring(Name00,5,2),01) < dateadd(month,-48,getdate());
October 27, 2015 at 3:06 pm
you didn't give us alot to work with (read article in my signature) but this should get you the results you want.
select *
from tablename
where datefromparts('20'+substring(name,7,2),substring(name,5,2),01) < '2012-03-01'
October 27, 2015 at 2:50 pm
did you enable the mail profile for SQL agent? right-click SQL Server Agent, choose properties and go to alert system page.
October 19, 2015 at 3:30 pm
If your virtual disks are sourced from a SAN and all your virtual disks come from the same disk group within the same storage, then there shouldn't be much of...
October 8, 2015 at 10:38 am
you will nedd to drop the current constraint, then add the new one. https://msdn.microsoft.com/en-CA/library/ms190273.aspx
ALTER TABLE tmpHCDAXP
DROP CONSTRAINT PK_tmoHCDAXP;
ALTER TABLE tmpHCDAXP
ADD CONSTRAINT PK_tmoHCDAXP primary key clustered (DXFORM, DXFTYP, DXPCOD, DXPSDT, DXSSDT);
October 8, 2015 at 10:19 am
identify the active transaction using either dbcc opentran or sys.dm_tran_active_transactions.
Once open transaction is identified either commit or rollback transaction.
October 8, 2015 at 8:22 am
without sample data or table definition it makes it a little more difficult to provide answer. Please read link in my signature for how to post to get better answers.
that...
October 8, 2015 at 8:08 am
There is no Service Pack 2 for SQL server 2014.
if you are talking about an earlier version, then yes, just installing SP2 would include all previous fixes. There are some...
October 8, 2015 at 7:50 am
I still think it's due to the results being returned.
this should time out for you after five seconds when it clearly would run longer
SQLCMD -S localhost -d AdventureWorks2014 -t 5...
October 2, 2015 at 1:46 pm
I think you are waiting for the result to get displayed in your powershell window. the query itself probably finishes before 5 sec.
I run your example and it does receive...
October 2, 2015 at 1:16 pm
I think this may have to do with windows caching the AD information and what it had cached did not include the membership of user1. I had a similar issue...
October 2, 2015 at 12:28 pm
I believe each license is for two cores, so two licenses would support 4 cores. I dont think you are able to buy a license for just one core, they...
October 2, 2015 at 10:51 am
you just need to put your query within the single quotes of the assignment and then qualify all your single quotes with the query.
Declare @sql NVARCHAR(MAX)
Set @sql = '
SELECT...
September 22, 2015 at 11:09 am
Viewing 15 posts - 16 through 30 (of 583 total)