SET options used in SQL Server 2008
We are using the following SET options in Oracle. I need to convert the same Oracle script to SQL server script which have the following SET options.SET ECHO OFF /*to suppress SQL queries in the...
View ArticleAn error occurred while executing batch. Error message is: Exception of type...
I am getting this error repeatedly on SQL Server 2008 on Windows machine when i run a simple query which involves close to ~ 10 million records. select sum(a.test) from (select COUNT(*) as test from...
View ArticleRunning SQL 2008 R2 but server showing up as sql 2005 (9.0.4035)
I have installed and run 2008 R2 for some time--no problems. use as backend for VS2008 coderecently I tried to restore one of my developer databases with a backup from a production server running...
View Articlebackup status
Hi,I want to check if there are any backups running in SQL Server 2012. We are shutting down the servers and I have to make sure no backups are running.Please helpRegards
View ArticleSQL query timeout error
I am using vb6 application with Sql Server 2012. Very often I get timeout error.I have 700+ tables in the database. Some tables i am using in query have 20K + rows (some have very few records also).I...
View ArticleMAXDOP for NUMA + Hyperthreading
Hi All,Quick question - i'm referring to this statement from - http://support.microsoft.com/kb/2806535"For servers that have NUMA configured and hyperthreading enabled, the MAXDOP value should not...
View Articleabout 10 INSERT statements issued and taking long
Hello dear Gurus,I issued about 10 insert statements all at same time (selected all and executed) and the SQL Server is taking too long. Now, I want to know which of the 10 statements have completed...
View ArticleUpdate PDF file in FileTable
Hi- I'm new to working with FileTables and am wondering if the following code (which saves annotations to a PDF file in the FileTable with changes that are made through the PDF control) makes sense. My...
View ArticleIssues with reporting percent log space used, between DMV and DBCC
Using SQL Server 2012 SE 11.0.2100, I am getting two different sets of values when querying for log space between the DMV and the DBCC command. Querying using the DMV. select instance_name as DBName,...
View Articlecalculate table size of many tables
Hi,I want to calculate the size of multiple tables in one shot. Please suggestRegards
View Articledatabase size in year
Hi,I want to know the increase in database size yearlyPlease help
View ArticleUser cannot access database over VPN - database not accessible - sql...
I haven't been able to find this scenario or a solution from searching. Any help is greatly appreciated.Using Sql Server Management Studio, I can connect to the database engine. Inside the office -- I...
View ArticleLog shipping Configuration with Net backup solution
Hi,i have 1 production server where i have sql 2005 64 bit is installed ,i have configured NET backup job for FUll @ night, Diff Every 3 Hours , and log backup every one Hour.Now my company have a plan...
View ArticleLinked Sever (Linking MySQL To SQL Server)
Hello Gurus,What are the possible options available (and if possible the steps) to create a linked server. I use SQL Server and I want to link MySQL to my server.Regards,ebro
View ArticleServer reboots when trying to restore database
One of my servers has developed a problem where it will restart during the restore of a SQL database. I've tried multiple databases and multiple backup files and it still happens every...
View ArticleSuppressing message 978 in an Availability Group
We are running with Availability Groups in SQL2012 SP1 with a primary and a secondary replica that will allow access if you use application intent read only which we are not doing. We probably have...
View ArticleError chain starting with write failure (error 655) during a DBCC CHECKDB...
Hello,We experienced the following error chain (extracted from the SQL Server logs) that ultimately caused our instance to restart and fail over one of our primary AGs, causing us unexpected (albeit...
View ArticleCursor and Memory?
I have a strange issue,When I create a cursor to go and do some work on all my DBs, sometimes it does the work only for the first few and then stops with no output.i.e. I have a job that runs a cursor...
View ArticleSqlserver high memory utilization
Dear All,We have a server sql server 2008 r2 64 bit(enterprise edition) on windows 2008 64bit(enterprise).Our ram size is 16gb.In this sql is using 10gb. Due to this we are always reaching memory...
View ArticleUnable to connect from SQL server 2008(Sp2) version client to SQL...
Our requirement is to connect to dtatabse server from .net application sitting on application server to invoke and run the sql agent job in database server.But there is different version of SQL server...
View Article