Databases are not getting displayed in SSMS
Hi, im using sql server 2012 and im stuck with a strange problem. i tried to restore a database snapshot to a database. usually it doesnt take much time to restore, but now it took 5 mins and still...
View ArticleAdd Identity Column to an Existing Table - SQL server 2008
I have a table T_ACTIVITY_ERRORS which has fields ACTIVITY_NUMBER,ERROR_ID, ERROR_COMMENTS etc and the number of records in the table are close to 20,000. I want to add a new column ACTIVITY_ERROR_ID (...
View ArticleSQL 2008 connectivity error
Hello, There are intermittent connection failure errors in one of our production SQL 2008 database server. Our database server is SQL 2008 SP2 on windows 2008 R2. The application is a resource...
View ArticleDACPAC powershell deployment issue
Hi, I am using SQLServer 2008 R2 with SP1 and getting an error while deploying a DACPAC by using powershell script. The DACPAC has been generated by using MS VisualStudio 2010 Version 10.0.402191...
View ArticleUtility Control Point
I am trying to explore the R2 feature Utility Control point and i figured that it creates a lot of SQL Server jobs. Is there are good white paper or some such that talks what role or task each of these...
View ArticleExecute permission denied to execute sp_send_dbmail.
Exceute as login ='manish\manish' ============== EXEC msdb.dbo.sp_send_dbmail @profile_name = 'vvvv', @recipients = 'Maneesh.aroroa@vvv.com', --< mail queued. Exceute as USER ='manish'...
View ArticleCDC and sys.dm_db_task_space_usage.internal_object_alloc_page_count
Gurus - I have CDC setup (2008 R2) and the job is set to run continuous. The job calls the cdc scan procedure with default parameters maxtran = 500 maxscans = 10 continuous = 5 pollinginterval = 5...
View ArticleSQL Agent Job is failing due to job has been suspended
Hi All, I am working on Migration Project, so after installed sql server i restored msdb database and edited maintatince plans with new connection string and when i am trying to run any job i am...
View ArticleRestarting Partitioning to Partition #1 without losing data
Partitioning was setup at a location where it started with Partition ID 733 and added a new one per day. It will be reaching partition 999 and all the data will end up in that partition moving...
View ArticleHow to fire trigger-like code when a login becomes a user of a database
Here's the scenario we want to achieve - 1) Login authenticates to SQL instance 2) Login becomes a user in the XYZ database 3) Some sort of code fires when a login becomes a user in the XYZ database -...
View ArticleWhy does UPDATE STATISTICS WITH SAMPLE take longer then FULLSCAN?
We've been running UPDATE STATISTICS with FULLSCAN daily against databases that total 280GB. The small databases are no problem, but the largest database takes over 3 hours. Overall the total time...
View ArticleDATABASE
Hello Please I need help with question> Does database has versions? If yes please what are they? My teacher asked the class to go research for database versions... and we have submit it on...
View ArticleDatabase mail and email address with spaces
Hi I am trying to set up database mail but am getting : The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2007-10-30T15:40:39). Exception...
View ArticleReporting Services databases
Hi, We have reporting services installed on computer A. Reporting services databases reportservice and reportservicetemp db created on another database server. Right now there is request to add...
View ArticleLooking for a root cause for needing to restart SQL Browser Services on SQL...
Hi experts, We have many SQL servers that are experiencing symptoms that are described in this KB http://support.microsoft.com/kb/2526552 Application team reports that their application throws this...
View ArticleWould changing the isolation level to Snapshot for only 1 sproc help?
Greetings. 2008R2 So I'm trying to get up the Snapshot Isolation Level learning curve for two different systems. I'm having some deadlocks in one system, and blocking in the other. Of course code mods...
View ArticleMSDB Corrupt
I have SQL Server 2005 SP3 Cluster and MSDB DB is corrupt. We are receiving an I/O consistency error on MSDB at this point. We are using a third party backup utility to backup our system dbs and...
View ArticleHow to email different operators on different actions
Hi Together, I have two different operators with distribution lists. The one group needs to get an email when the job fails. The other group needs to get an email when the same job completes. Is that...
View ArticleHow can we have deadlocks in tempdb on local #tables in SQL 2012?
Since upgrading to SQL 2012 we've been having deallocks on local #tmp tables. This is occuring accross processes(spids). They appear to on partition objects, Sch-M and Sch-S. They are occuring on the...
View Article