Is there a way to change the SQL Server time to a future date without also...
Is there a way to change SQL Server's (R 2012) time to a future date without also changing its Windows Server OS clock time? We are trying to do some application and DB testing into the future.Thanks,Bob
View Articlehow to shrink logs and database om Always on 2012 setup
i got 2 servers in an always on setup sql 2012I need to shrink the logs file and databasethe logs is over 80gb and the db is only 2-3 gbI also tried to change the db from full recovery to simple but it...
View ArticleJob history
I have a job that when I select Job History nothing shows up. But when I look at the log file it looks like it is running. Any idea why it wouldn't have a history?Alan
View ArticleServer role db_creator not working same in 2016 as 2012/2014?
Hi I have run into something i can't find any answer to and maybe you can help me.In SQL 2012 and 2014, if a user have the server role dbcreator and public and create a databas that user got db_owner...
View ArticleHaving trouble restoring over a database
We have 2 databases. Database 1 is used by our intranet webpage and ourWeb Development team use Entity Shell for their intranet programming method on this website to the database. I can see that in...
View ArticleSQLServerAgent initiating self-termination Exception 5 caught at line 4175...
016-06-19 after windows updates were installed and system was rebooted SQL Server agent started and few seconds after stopped. After manual start of SQL Server Agent service by using SQL Server...
View ArticleNo CPU, Disk IO, Network charts in SQL 2016 Data Collection Server Activity...
After upgrading to SQL 2016 "Server Activity History" report in Data Collection show "No Data Available" for "% CPU", "Disk I/O Usage", "Network Usage" and "SQL Server Activity" charts. Cleanup data...
View ArticleSame Procedure wont run if drop and create in another Database
Hi ,We have Data warehouse which has mainly invoice and purchase related data, DB name is BI_DWH, we also have DB's specific to each country wise like DWH_France, DWH_germany like that. we have all the...
View ArticleScript Stored Procedure as
Why is it when I right click a Store Procedure and select script as Drop and Create it puts the SP in Quotes and uses theEXEC dbo.sp_executesql? Like below?USE [ReportingUtil]GO /****** Object:...
View ArticleALTER LOGIN for SA fails with 15151 error SQL Server 2008 R2
Hi, We are getting the below error when we are trying to reset the password of 'sa' using a Security admin user.Error:Cannot alter the login 'sa' because it does not exist or you do not have...
View ArticleSQL Server 2014 - Restart from SSMS fails
Just installed a new SQL Server 2014 instance. When I try to restart the sql server instance in SSMS by right-clicking and choosing restart, I get the following error: TITLE: Microsoft SQL Server...
View ArticleOla script Query
Hi All, we have a sql instance that runs on a standard edition, hence we cannot do an index online rebuild nor we would do an offline rebuild, we just want to perform and index reor. Is this ok if we...
View ArticleSQL 2016 Management Studio Failed to Create Maintenance Task
Hi there,Anyone able to help me to solve the issue as below:I am trying to create a maintenance task for SQL 2016 standard, and I got the error "Cannot create a task from XML for task ..." .. the refer...
View ArticleSSMS Extremely slow when editing SP or UDF
After updating SSMS 2016 to the latest version (October 2016), whenever I browse to a Stored Procedure in the Object Explorer, and try to modify it, the screen freezes and the status line at the bottom...
View ArticleSQL 2014 how to restore from backup when database is on a VM machine?
Hello Community A database was originally on a regular server. Now the database is on a VM. When the server was on a regular server you could back the server up using the Management Studio or...
View ArticleAttaching a .mdf file
I hope I am in the right Category!I have a .mdf file (I cannot find its .BAK backup file). It was not detached from the server on which it was attached to SQL Server 2008 R2 engine.Is there any way I...
View ArticleIs Microsft recommend Defragment My SQL Server Data/log drives?
3 x SQL server 2012 enterprise edition on High availabilityOS windows 2012 r2Virtual machine environment on MS Hyper-VQuestion please?Is Microsoft recommend Defragment My SQL Server Data/log...
View ArticleAttach Server Name to all SQL Error Exception Messages, globally?
Our Services use AlwaysOn, with upto 5 SQL Servers in the AvailabilityGroup. When making DB calls, the requests can reach any 1 of the server. Hence for troubleshooting purposes, I want to understand...
View Articlessms 2014 connecting too slow
Hi guys.my poblem is when i want to connect ssms it takes too long . what is the reason or how can i resolve it ?THANKS A LOT. GREAT REGARDS.
View Article