Restore MSDB Database
Hi - I have a corrupt MSDB database and I am not able to run dbcc checkdb with the fix parameter nor am I able to restore from backup - I get an error saying that the operating system returned error 23...
View ArticleMaster database Rebuild
hi Team,if we Rebuild the MASTER database [model and msdb ] re-created or not? if rebuild the Master database internally what will be happen.Thanks,
View ArticleReindexing Job failed
Hi All,In one of our production server Reindexing job was failed . I had checked SQLServer log at that time the error isError: 701, Severity: 17, State: 123 There is insufficient system memory to run...
View ArticleCOMPATIBILITY LEVEL not = 110
I using sql server 2012 but my compatibility level can't up to 110 and I can't use LAG and LEAD recognized built-in function Please, Help my :( this is my pic of problem...
View ArticleWhat is the impact of changing the endpoints when databases are in...
Hi All,I would like to know the impact of changing the endpoints when databases are in synchronized status?Please help me on this
View ArticleReorganize database
Dear all,Is there any method or scripts to reorganize the whole database(instead of table indexes) for SQL 2005? Thx a lotThanks and regards,Wallace
View ArticleContained users in SQL 2014
Hello!After enabling containment option on the instance and DB level I'm trying to migrate users usingsp_migrate_user_to_contained but keep getting the following errors:1) Should I type the user name...
View ArticleWay to insert text having ' (apostrophe) into a SQL table
Solution:-1:If you insert data through procedureeg. create proc tt @in varchar(20) as select @in exec tt "test's" --here used "string inputparameter" instead of 'string inputparameter'2:isert...
View ArticleSetting database option ONLINE to ON for database "dbname"
Hi Today i faced a wiered issue, One of my database on sql server 2005 was offline.Scenerio:One fo my database was offline , I checked in1. SSMS (GUI) -- DB is offline 2. sys.databases (status) --...
View ArticleReplication
Yesterday due to an incorrect data feed we had to restore the database at production server 123, which replicates to 456 server. Please let us know if we have to restore the database on 456 server...
View Articlewhat is Hyperthred ratio?
Hi, In layman terms, what does hyperthread ratio mean? How is it used/useful in sql server ? Books online says, It is the Ratio of the number of logical and physical processors. I have executed one of...
View ArticleJob Schedule Skip Notification
Hi All,I have a requirement where i am asked to set a notification when ever SQL server agent skips a scheduled job execution to the next run because the job is still running.Can some please help me...
View Article[298] SQLServer Error: 258, Unable to complete login process due to delay in...
Hi Experrts,we are receiving below error since 1 week, The below error logging in SQL AGENT LOG.[298] SQLServer Error: 258, Unable to complete login process due to delay in login response [SQLSTATE...
View ArticleHow to troubleshoot high cpu and high memory usage happening on the same time?
Hi Experts. What would be the proper troubleshooting approach for the below performance issue. Server is 100% cpu and 90% memory usage and users are unable to login. What all things need to be checked?...
View ArticleWhat happens when the maximum limit of DataBase partitiong is reached
Hello,We are using SQL server 2012 which allows 15000 partitions per table.We are partitioning tables on the primary ID (e.g. periodID) of one of the tables.As of now we have data for all the period in...
View ArticleTlog just record DML ?
Dear: I met " Msg 3023, Level 16, Backup, file manipulation operations (such as ALTER DATABASE ADD FILE) and encryption changes on a database must be serialized. Reissue the statement after the...
View Articlehow to convert float value in hh:mm:ss format
Hi Everyone,I have a requirement that we have time in hours like 21.52 hrs and we want to convert it into hh:mm:ss formatPlease anyone suggest me..Thanks
View ArticleSQL Server 2005 consuming less memory
Hi Everyone,We are facing slowness issue with one of our production SQL Server EE 2005 32-bit on Windows 2003. Installed RAM on the server is 4 GB and SQL Server MAX MEMORY is already set to 4 GB and...
View ArticleSQL Server 2014 System.Data.SqlClient.SqlException: A severe error occurred...
About every 12 hours we encounter the following exception when accessing sql server from ASP.Net web application. 2014-07-22 23:22:18.97 spid99 * Exception Address = 000007FEE36765D3...
View ArticleMAXDOP and SQL Server Standard
I have gone through tons of articles and it seems pretty condiluted, Does standard edition limit you to MAXDOP 4? The server i am working on has 12 physical cores 12 hyper-threaded with 2 numa nodes so...
View Article