Viewing 15 posts - 2,026 through 2,040 (of 5,588 total)
We had something similar, but it was a network issue. If I remember correctly, it was dueling domain controllers(?) generating different information. It was also only happening every 4 hours,...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 30, 2010 at 9:29 pm
GSquared (12/30/2010)
I just noticed I hit 10k "points" on SSC today. Good way to end the year, as it were.
Congratulation Gus!
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 30, 2010 at 9:19 pm
Jeff Moden (12/30/2010)
Roy Ernest (12/29/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 30, 2010 at 9:18 pm
This post (in the discussion of the article) references both the safety check and the modification to it, and includes the resultant code sample with both applied.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 30, 2010 at 9:31 am
dbursey (12/29/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 29, 2010 at 12:02 pm
You'll have to use dynamic sql to run it that way.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 29, 2010 at 10:14 am
Matthew,
Thanks for following up with the code that shows it working - it will help out others in the future when they have a similar issue.
How does this run performance-wise...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 29, 2010 at 10:12 am
This sounds like a job for the row_number() function with the optional partition by clause. This article[/url] might help you out with understanding it.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 29, 2010 at 10:07 am
First, let's put the data into a table so that it can actually be worked with:
And here are 3 different methods to extract the ISBN and Group for just the...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 29, 2010 at 9:42 am
If you definition of unused is that it has zero records, you can run a query to determine this.
Otherwise, you'll probably have to run a server-side trace to track what...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 29, 2010 at 9:09 am
Sounds like a partitioned view here will handle things - see this link for how to handle this. The trigger will insert into the view, which will properly put the...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 29, 2010 at 8:54 am
jbon007 (12/29/2010)
from the two views i want the two results to be combined into one view.
i.e
NoDaycase noElective Dis_Spec...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 29, 2010 at 8:41 am
Matthew Darwin (12/29/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 29, 2010 at 8:29 am
This will generate the ALTER TABLE statements for you.
SELECT 'ALTER TABLE ' + QUOTENAME(ss.name) + '.' + QUOTENAME(st.name) +
' DROP CONSTRAINT '...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 29, 2010 at 8:24 am
Nic,
Very interesting. Thanks for posting your solution - I've learned something out of this!
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
December 29, 2010 at 8:18 am
Viewing 15 posts - 2,026 through 2,040 (of 5,588 total)