Login issue..
Hi team,we are migration one server, i have login scripts,once we executing the login script in new server we are getting below error message :Supplied parameter sid is in use.how to drop the SID and...
View ArticleSQL 2012 SP1 system_health security_error_ring_buffer_recorded Events
Hello,I recenlty upgraded My SQL 2005 server to SQL 2012 SP1. The system_health in Extended Events is now continuously reporting the event listed below.After upgrading to SQL 2012 SP1 I installed a...
View ArticleException happened when running extended stored procedure 'xp_delete_file' in...
I have gone through the related posts. However not found the answer to this problem.Environment: - OS Version: - 2003 R2 (SP2) 64 Bit SQL version: - Microsoft SQL Server 2008 (SP3) - 10.0.5788.0 (X64)...
View ArticleHow to check if a view is updatable or not
What is a good way to find out if a view is updatable or not?The following options I know but are not useful for me:- try a update / insert statement: because I check all views existing in a unknown...
View ArticleSQL Server 2012 Shutting Down Randomly
Hello,I have two servers with Windows Server 2008 R2 and SQL Server 2012 Standard that were just setup about a week ago. Both SQL Server instances will randomly stop the service and become disabled. I...
View Articlesp_send_dbmail formatting results - one column has line breaks and wraps a...
I have a procedure that returns several results. One of which has a column with a long string, but I am trimming it to 300 characters.Regardless, when the email is received, the attached file contains...
View Articlesystem date time change influenceon SQL server
Hi! I'm making a small research on how system date time change may influence on correct behavior of windows services.Actually i need to do some trick in my .Net application on server to make it execute...
View ArticleSQL Server quit unexpectantly after system date on server was changed to a...
We have a .NET application that stopped working. After investigation, we discovered that the system date on the server had been changeed to 2003 instead of the current 2013. After correcting the date,...
View ArticleSQL on VM, but disks on SAN
My question relates to what happens when you have to rollback the VM.If all your databases are on a SAN and the SQL Server is on a VM, but you rollback your VM, won't the state of SQL and the state of...
View ArticleRe:Log shipping..
Hi team ,we are configured log shipping primary and secondary both server are 2005 enterprise edition, but monitor server is 2008 enterprise edition, it can be working or not???
View ArticleEuro symbol issue in CP850
We are in US using code page 437 (chcp at command prompt returns 437). We have a 3rd party accounting platform with back-end SQL database that we recently migrated from SQL 2005 to 2008 R2. After...
View ArticleHow to migrate extended store procedure 64x DLL from SQL 2005 to SQL 2008 R2 ?
Hi! all,I need to migrate a database with extended store procedures from SQL 2005 64 bit EE to SQL Server 2008 R2 EE, the targuet os is Windows 2008 R2 EE.I went trought the...
View ArticleDELETE FROM Table WHERE PKID=1 runs for over 5 minutes - no idea why
We have a table that has around 500 rows.I ran DELETE FROM Table WHERE PKID = 1 and the query ran for over 5 minutes before I finally killed it.I backed up the database and restored to another server,...
View Articlehow to move database with snapshot?
i have a database for which i have created a database snapshot. how can i move the database files (and the snapshot file) to a different disk location? i cannot detach / attach because detach is not...
View ArticleCannot open backup device 'F:\foldername'. Operating system error 5(Access is...
SQL 2005 EnterpriseEven if I logon as Administrator and try to backup any of my databases to local partitions, I get this error below. I have been operating fine up until this point and doing backups...
View ArticleHuge transaction log issue
Hi there,Got an issue with a transactio log that was initially set to 1,275,880 mb. Huge since the db is only about 6.5 gb.The problem is that the disk is out of space and the log is full.I'm familiar...
View ArticleWhat is elapsed time in return from Set Statistics Time
I have the following message when I run a simple query "Select Distinct Orderids from tblOrders"CPU time = 47 ms, elapsed time = 1692 ms. Other elasped times within the last 18 hours include 3198 ms,...
View Articlefile store from network to sql
Hi Friends,using sql powershell script how to store files from network location.Can anyone help me on same.Thanks,Tirutirupal
View ArticlePerformance issues while using the IS_MEMBER function -...
We are seeing a huge performance hit with a query that uses the IS_MEMBER function to make sure the current login is part of an specific set of groups in AD.When we run the code containing the...
View ArticleHow to remove manually a one instance on a server with 4 instances sql 2005 exp
Hello at all, I have a win2003 server with sql2005 exp with 4 instance. Now I can remove a one of these istances but the add/remove procedure faill and this instance can not uninstall. I would like to...
View Article