Table Names - Singular or Plural?
I was surprised when I couldn't find any posts about naming tables with singular or plural names, other than a generic post about naming conventions. There are debates / arguments about this topic all...
View ArticleHow to clean the clerk "MEMORYCLERK_SQLCLR"
Hi guys,Can I clean the clerk "MEMORYCLERK_SQLCLR" without restart the SQL Server service???I already close the connections but this clerk are using 20 GB of memory.Thanks for your time.Fabrício França...
View Articleforgot sa password in sql 2005
Hi,How to retrieve forgot sa password in SQL 2005.PLEASE REMEMBER I DON'T WANT TO RESET THE PASSWORD.
View ArticleCopy\Move Forum Thread
Hi Experts ,Is There a Way to Copy or Move any Important\Useful Forum thread to Our Folder\Thread .?? Many A times I see Useful thread posted by Experts ,but then after few Month or Year, when I want...
View ArticleUpdate strategy on Partitioned Table?
Hi All,Working on Partitioning on SQL Server 2012. I would like to know the beast way to Implement update strategy on Partitioned Table.Below are the Steps we have for that Table.Source Table:...
View ArticleCompression and Partitioning
I have a 700million row table. I want to do compression or partitioning or both. Is there one that should be done before the other?Alan
View ArticleTPC-E test on SQL Server 2012 high runnable task count
I know I probably shouldn’t be replying to this old thread, but I’m crossing my fingers that Jonathan Kehayias will see activity on this old thread and respond…I’m using Quest Benchmark Factory to run...
View ArticleDatabase In Recovery
Hello all, Is there a way to check the status of a database in recovery. Like how far along it may be. If not is there a way to stop a database in recovery and just drop it. Thanks in advance, Mike
View ArticleCreate database fails with
I have a VM set up with SQL 2008 R2 SP2. It has twi instances running on the box.As it is my dev box both instances use the same service account and they both use the same moutn piont for dat and log...
View ArticlePartitioning with clustered index -
Hi.I created a partitioned table and now like to add a clustered index that includes the partitioning column (like it is noted as requirement for this). The index storage setting was set automatically...
View ArticleHow to use sp_addmessage precisly
I run scriptEXEC sys.sp_addmessage @msgnum = 60000 ,@severity = 16 ,@msgtext = N'Test error message № (%d), Module (%s), procedure (%s).' ,@lang = 'us_english', @replace= 'replace' ; GOEXEC...
View Articledifferential backup and restore strategy and recovery option
Hi. I learned today that our recovery simple star db is being backed up full once weekly and somehow differentials are generated daily with the expectation that we can forward recover from those...
View ArticleCLR Stored Procedures Not Able To Return Tabular Resultsets From Remote Servers
I'm using a CLR stored procedure to return a resultset from a remote server. The problem is that the SQLContext.Pipe commands only work if the "context connection=true". How can I return a resultset...
View ArticleErrors running a query in Management Studio 2008
Hello all,I've never done this before to please bare with me.I transferred a SQL Server Express DB to SQL Server 2008 using "Publish to provider" in VWD 2010. All completed successfully. Executing the...
View ArticleDifference between running a query from a script and a Stored Procedure
Hi All -We are working on a performance tuning project for fixing slow running queries. We have used enhanced indices, temporary tables, query tuning techniques and succeeded in fixing all those...
View ArticlePartitioning Help
I have a table that has 700 million records in it. The data is below. I thought the SPEC_ID would be the best field to do it on but it is far from unique. There is a composite key of 3 fields. Spec_id,...
View ArticlePerformance testing help
I am testing the performance of compression. I want to test the database before and after compression. What is the best way to do this? I need results I can show my boss. I captured a replay trace on...
View ArticleUPDATE on single column on a heap with 1.2B rows
Hi,I have a table with 1.2Billion rows of data. It's currently a heap and around 300GB in size (un-partitioned).I'm trying to do a blanket UPDATE on the entire table on one of the columns by using a...
View Articlesql server 2008 R2 64 bit on VM using high memory
Please help me to see why sql is using high memory on a clusterBest Regards, Arun http://whynotsql.blogspot.com/
View ArticleHow to select data as randomized for 5%
I have 90 thousand records contains with 10 variables. I want to select 5% records from 90 thousand like first 10 number of rows then 17, 25. How ? Can anyone help me to write procedure in SQL Server...
View Article