tables referenced
We are running sql server 2008. Is there a way to tell what tables were accessed (select,update,insert,delete) during a specified time (ie. what tables were accessed between 9:00-10:00 pm last...
View ArticleWhy does changing the length of an nvarchar column require recreating the table?
The following message box pops up when the length of an nvarchar column is changed:I remember I had changed the lengths of many columns before, and never seen this. What is the possible reason?Could...
View ArticleNamed Pipes Protocol
Hi,Our SQL Server 2008 default instance have databases for multiple applications. Shared Memory and TCP/IP enbaled. Named Pipes and VIA disabled.One of our vendor needs to enbale Named Pipe to resolve...
View Article-g startup flg or /3GB switch
Which one i have to use (most recommnded) on 32 bit Ent Edition?Manish
View ArticleDeadlocks and metadata locks
I have a deadlock situation that I am having some difficulty understanding. Attached is the deadlock graph - I am trying to understand why we see so many metadata locks. Is a metadata lock the same as...
View Articlelinked server works locally .. but not from remote machine and SQL agent jobs...
Hi, im not able to use linked server remotely (from my desktop) or from SQL agent jobs on an instance INST1 linked server point to INST2 .. im able to view objects in linked server tab (in SSMS)...
View ArticleDeadlock
Hi,We are using SQLSentry tool to monitor our DB server. We got below alert.Environment: SQL Server 2005 Std With SP2 on Windows Server 2003 EntPlease help why we are getting below...
View ArticleRounding off issue during Oracle to SQL Server migration
Hi,I am currently working on POC for migrating Oracle to SQL Server 2008 R2. Stuck with an issue related to rounding off calculations.There is this "rate" value we are calculating using POWER functions...
View Articlesys.servers in AdventureWorks
I assume that this system view is in master db.(SELECT * FROM master.sys.servers EXCEPT SELECT * FROM AdventureWorks.sys.servers) UNION ALL (SELECT * FROM AdventureWorks.sys.servers EXCEPT SELECT *...
View ArticleDB connection error issue while running a batch job from APPLICATION Server.
Hi All,I have an DB connection error issue while running a batch job from my APPLICATION Server.I have 3 servers. 1) Application Server 2) Oracle Database server (Data Source) 3) SQL Database...
View ArticleIllegal mix of collations (utf8_general_ci,IMPLICIT) and...
Hello Friends I have created one fact table in DSV and then add into in cube and define measure based on that table.but while processing of cube i get this error.Errors in the high-level relational...
View Articlesys.dm_db_stats_properties returns empty rowset for some statistics?
I am looking at the new dynamic management function sys.dm_db_stats_properties.http://msdn.microsoft.com/en-us/library/jj553546.aspxI have found that for some tables and statistics it is returning an...
View ArticleWhen I try to see tables, I receive error
Hi,When I try to see DB's tables, I receibe the error below;I tryo to "DBCC CHECKDB('LOGODB') WITH TABLOCK" but its getting error again. What should be the problem?
View ArticleSQL Server 2012: Replacement for linked server to "Index Server"
I have a SQL 2008 R2 application database, which also integrates SQL queries with MS Index Server via a linked server. The MS Index Server currently indexes c. 1,000,000 files. I need to move the...
View ArticleObject reference not set to an instance of an object"?
Hi,After migrated one of application SQL 2005 to SQL 2008R2 we are getting below error after some time , please help any one .regards venkat
View ArticleIs read_committed_snapshot dependent on allow_snapshot_isolation?
Is read_committed_snapshot dependent on allow_snapshot_isolation? I thought the latter had to be on before you could use the first. This article seems to indicate so but I'm not...
View ArticleHow to control the Database log size?
Hi All,I am loading the data from one database to another database using SSIS 2005, and the record count is1,26,31,742.using the execute sql task for truncating the destination table and insert into...
View ArticleSimple Mode Transaction Log almost 200Gb
I inheritted a database which is in Simple Recovery Mode. The transaction log is almost 200Gb in size. I cannot seem to get it to shrink. I've tried backing up the database, shrinking the database and...
View Articleretrieve sql command history
Hello,We're using sql 2008 standard RTM and want to retrieve all the sql insert/update/delete command issed to our database for the past 6 hours(just like what we get in sql profiler). But in our...
View Articlenot able to change the backup location for maintenance plan
Hi All, We have a FULL backup maintenance plan which is SSIS package, we need to modify the location of the backup from D:\sqlbackups to E:\sqlbackups. to change i went to BIDS, opened a new project...
View Article