Update 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 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 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 ArticleRemote Connectivity to SQL Server 2012 Enterprise Edition Named Instance
We recently started building out sql server 2012 sandboxes with named instances and we're having issues connecting remotely. We've been using named instances in 2005 and 2008.Made sure tcp/ip is...
View Articleinvalid column name 'xml_index_type'
Hi, I'm not sure when this started happening but today, none of us using SSMS 2012 connected to SQL server 2012 SP1 were able to script any objects. we are presented with the messageFailed to retrieve...
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 Articlehow to script schedule in sql server agent
Hi,How to script schedule in sql server 2005. When I click on script option in manage schedule, there is message ' there is no action to script'. So my question is how to create script for these...
View ArticleDB Reindex
Yesterday i did rebuild my index but while checking I came to know that there are still some fragmentation..what is the reason ?
View Article