How 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 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 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 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 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 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 ArticleThe Resource Governor of SQL server 2008 R2
Dear all, Right now we keep seeing a process from Oracle gateway that use a MS SQL login to run and select something, but time to time it will overload the tempdb log and the log full sometimes. Can...
View ArticleError: 18456, Severity: 14, State: 5.
Hi We are on SQL SErver 2012 which was recently migrated on. I am seeing lots of errors like "Error: 18456, Severity: 14, State: 5. Login failed for user 'Domain\Server$'. Reason: Could not find a...
View ArticleSQL Server limits rows added to a table
Hi,I need to append over 50 million rows to a table in a database. Problem is, as soon as it reaches 3.6 million rows, it just stops inserting rows. There is no error raised. We have to manually...
View ArticleHow can a data table be pre-sized?
I am running 2008 R2 sp2 64.I have a database with a target table whose content is calculated from other data in the system using stored procedures on saving of the source data.I need to re-calculate...
View ArticleCannot log in to SQL server/database problems
The story goes like this. Our website offers online account applications. The captured, sensitive data is written to a separate database on a secure server (separate from the main DotNetNuke DB). I...
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 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 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 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 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 Article