system 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 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 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 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 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 ArticleCase Sensitivity in sp_describe_undeclared_parameters
We recently upgraded one of our databases to 2012 Compatibility Mode, and are now getting an error from sp_describe_undeclared_parameters when running an SSIS package that one of the parameters...
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 ArticleUnable to kill SPID 76!!
I run a KILL 76 command and the SPID 76 is still there!!Any ideas on this? Immediate answer needed!!ebro
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 ArticleRegarding the Batch file running the stored proc to backup the Databases
Hello,I have a SQL Server 2008 R2 Express edition.I created a batch file at c:\SQLServer\Backups . This Batch file contains the Stored procedure which takes the Backup of all the Databases and places...
View ArticleAre you very knowledgeable about SQL Server Database Engine? Win love and...
TechNet Wiki is looking for and celebrating the best of the best!Is that you? Do you consider yourself an expert, authority, or just pretty good at this technology?Show us your forum solutions and...
View ArticleWhy restore of database.bak fails?
I have clean SQL Server 2012 and restored database from bak file created in another server. Restore was succesful.Now I made new restore for the just created database from same bak file. It fails.It...
View ArticleCPU hungry SPs or queries
Is it possible to identify most expensive queries(SPs) against a given DB between 6 AM and 7 AM today?ebro
View Articlehe OLE DB provider "SQLNCLI10" for linked server "ServerName" reported a...
When i execute a select query on a SQL view, which has few nested views which internally uses linked server, sometimes randomly I get this error<o:p></o:p>The OLE DB provider "SQLNCLI10"...
View Article2012 sql cluster / maintenance job - update statis is slow
2012 sql cluster when using maintenance plan for update stats, it takes about 10 minutes. When using script from the plan, it takes a second. No error. Any checking that we should do? Thanks,
View Article