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 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 Articlesparse varchar columns
SQL Server 2012The documentation suggests space savings on sparse varchar columns if you have more than 60% nulls.This seems inline with varchar docs "storage size is the actual length of the data...
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 ArticleTool for checking dependencies for a table
Hello, We are in process of migrating an application (with the DBs) on to a new server. The application references 8-10 tables in the DBs and there are more than 500 stored procs and views which are...
View Articlesql server2012 performance
We have sql server 2008 R2 in production, have started evaluating sql server 2012 on a test server.The test server has more memory and cores compared to the production server.The databases and ETL...
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 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 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 ArticleModel licensing for SQL Server 2012 Business Intelligence edition
Hi,if possible, I'd like to know because it exists only the licensing for server and user cals about SQL Server 2012 Business Intelligence edition.Thanks
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 Article