Internal Error: Text manager cannot continue with current statement. Run DBCC...
I am running 2008 R2 SP1.This is the following from the xevents record;<event name="error_reported" package="sqlserver" id="100" version="1" timestamp="2013-01-30T13:26:59.988Z"> <data...
View ArticleGetting most_recent_sql_handle from prior session?
Hi, We are migrating a COBOL-DATACOME application to .Net COBOL and SQL Server using MicroFocus. I have been monitoring the queries via using DMVs and and traces. I notice an odd thing once in a...
View ArticleAlways On New Availability Group - Full backup is required
Just trying to create a New Availability Group for AlwaysOn , I see the database is listed, in the status it says: "Full backup is Required. The database is AdventureWorks2012, i have taken a full...
View ArticleFind physical reads
Hi,I want to know following information, how can i get it using SQLServer Queries1. Total physical reads on the database. 2. Total logical reads on the database.3. top 10 tables /indexes based on...
View ArticlePartition table with non-clustered index
Hi,I am in sqlserver 2005 developer edition. I have a table awrard_transaction which has refno column as primary key and has a primary key (unique clustered index on it), index name is...
View ArticleHow to find current statement start time.
If a batch which consists of multiple statements is being executed I can find out the start time for the batch from exec_requests (SELECT start_time FROM sys.dm_exec_requests WHERE session_id = @SPID)...
View ArticleColumnstore index switching to row mode with inner join
Hi all,Considering the following "example" query with a columnstore index:SELECT ClientId, SUM(OrderAmount) FROM Order GROUP BY ClientIdExecution plan shows a nice batch execution mode. When I do...
View ArticleLinked Server query to Sybase ASE very slow
On my MSSQL 2008R2 64bit server, I setup a linked server to Sybase by using Sybase ASE OLEDB driver.When I tried to run a SELECT/UPDATE/DELETE linked server query which should be covered by the table's...
View ArticleHow much memory SQL Server needed ?
Hi,How would i calculate sql server memory usage ?.-- Bhavesh Thakkar Sr.Database AdministratorMy BlogLinked In Profile
View ArticleHow to start clustering?
Hi all,Do we need to enable this feature in widows to install failover clustering?Kindly any one provide a proper guide to install SQL SERVER FAILURE CLUSTERING FROM SCRATCH (With Windows)?
View ArticleAnything to watch out for when enabling compression on TFS SQL DB?
In addition to possible test data and log file cleanup, I would like to consider compressing our TFS database, which is running on SQL 2008 Enterprise Edition (64-bit). The database has experience...
View ArticleRestore database
Hi All,while am restoring the database, am getting following error like database backup set already exists.my backup version is sql 2000 and am restoring in sql 2008.I checked overwrite option...
View ArticleBackup/Restore Schemas (through file groups)
I would like to be able to backup and restore a schema, my database will have amulti-tenant scenario where each schema will have the same objects like tables etc...and I would like to be able to...
View ArticleClustered index and random inserts
Hi All,I know, there were threads on this subject before, however I want to put my specific question here.I am (still) on SQL 2000.There is a table with around 20M records and growing. There is a...
View ArticleTransactional Replication Issue
Hi , We are setting up a new Sql Server for our testing environment and migrated the data from Old Server to the New one by Attaching the .Mdf Files.The Old server was already having replication...
View ArticleSimple question on moving SQL2005 master database
Hi,I need to move the master database on an SQL2005 server from one location to another. I have read numerous articles/questions on this and...
View ArticleQuestion on database replication
SQL Version: sql server 2008 r2 SE OS: windows server 2008 R2 SEWe are implementing a new architecture for one our modules. There are 100 tables in the database and out of which 45 tables are using...
View Articlesp_send_dbmail won't take @query SQL 2005 64bit
I am trying to send query results via email. The command works fine without the @query parameter but gets the following error with it. No query works, I tried several as well as a select, all result in...
View ArticleIn Access 2007, Converting Access accdb to a database of SQL Server 2012...
Hi all,My Computer Team just installed a brand new "Microsoft SQL Server 2012 Express"/Microsoft SQL 2012 Management Studio (SSMS) in my "Windows 7" PC that is part of our "Windows" Computer System....
View Article