Issues 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 ArticleHandle with parameter
Hi, I have unicode inside @area below. cmd = new SqlCommand("SELECT a.id,a.name FROM dbo.dist a,dbo.area b where area_name=b.name and case when isnull(local_name,'')='' then b.name else local_name...
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 ArticleFind unused databases
Hi Experts,I know this is a question asked before. We need to figure out the databases in our servers that arenot being used. We could check from audit logs, profiler trace and some DMV's. But is there...
View ArticleSQL Server 2008 and Java application
Hi,notice lately a problem with SQL Server 2008 that application for no reason hang and stop operating and this problem unsolvable till restart the application and all support team pointing to SQL...
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 ArticleWAITSTATS cause for concern or no?
Hi All,Am diagnosing a 'slow' application and looking at the database server first. I ran Paul Randall's waitstats script and here is the output.Couple questions as i'm going through this:1) Even...
View ArticleFastest way to read a 600MB table (in memory)
I cannot get more than 15-19mb/s is there any limitation that I need to know about?The query is a simple select not doing sorting and the database is read-only : "select * from tablename"Tried local...
View ArticleReplication information
Hi ,we configurations the Replication, after we can run the update statistics on the publication database, this update statistics reflect into subscriber database or not ?
View ArticleReg:Uploading Excel File is not working
HI Friends,After Uploading a file i will show data in Gridview.Then i will Import in a Sql Table.Another machine i have published Its working fine.But After i have Publish in New Server its not...
View ArticleSQL Remote connection without specify PORT Number between different locations
Hello,We need to connect SQL Server from one machine to another machine.We have installed SQL server with instance name as SQLExpress.We can able to connect remote connection with client machines in...
View ArticleClient statistics showing zero's
When I click on the show client statistics it shows all zeros. See screenshot.Alan
View ArticleProblem with unicode
Hi, when doing the insert using these cmd = new SqlCommand("insert into dbo.ite_tab (...,area,...) values (...,@area,...)", conn); ......
View ArticleActive directory
Hi Everyone,How the data in active directory gets stored?Are the data getting stored in SQL Server?I have googled is, but didnt found any articels. Thanks,Karthi K
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 ArticleUnable to open physical file - Operating system error 5: 5(error not found)...
I am trying to attach a database to SQL 2005. This database has not previously been attached. I have only just installed SQL. I get the following message: Unable to open physical file...
View ArticleCDC Oracle source SQL Server destination
Hi can anyone recommend CDC software for moving data from oracle to sql server.We have looked at attunity, before we can make a decision we need to look at competitors.
View ArticleSQL Server 2008 R2, Error: 701, Severity: 17, State: 123, There is...
In the error log, I get: 2013-06-02 00:00:37.78 spid22s This instance of SQL Server has been using a process ID of 1268 since 5/15/2013 4:12:15 AM (local) 5/15/2013 8:12:15 AM (UTC). This is an...
View ArticleSET 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 Article