2012-05-22 (first published: 2012-05-01)
853 reads
2012-05-22 (first published: 2012-05-01)
853 reads
Find a string in any "string" (char, varchar, nchar etc) column in the database.
2012-05-18 (first published: 2007-12-19)
5,852 reads
Calculates the nth due date for any given date, while accounting for weekends.
2012-05-16 (first published: 2007-10-11)
3,847 reads
This script maps the primary key - foreign key relations regardless if the column names are the same or not.
2012-05-15 (first published: 2007-11-07)
3,009 reads
A script to generate a recovery script for setting your sa account back to the password it is using at the time of running this script.
2012-05-14 (first published: 2012-04-09)
1,021 reads
Searches database for up to 4 keywords. It will search through SPs, UDFs, Triggers, SSIS packages, jobs, table names, and column names.
2012-05-10 (first published: 2012-04-18)
2,244 reads
2012-05-09 (first published: 2012-04-19)
1,390 reads
An interesting recursive CTE to list out the non-alphanumeric characters in a column of a table.
2012-05-08 (first published: 2012-04-12)
3,034 reads
2012-04-30 (first published: 2012-04-04)
695 reads
This topic explains the log shipping if the primary database is suspected or corrupted and how you can convert the secondary database into primary database.
2012-04-27 (first published: 2012-03-31)
1,036 reads
By Steve Jones
A bit of a photo dump, but a few fun memories for me from...
By ReviewMyDB
Part 2 of my What's New in SQL Server for the Developer series. STRING_SPLIT,...
Note: This is more of a note to myself than an attempt to preach...
Earlier this week I had an issue with a Win 8.1 laptop I was...
Comments posted to this topic are about the item Black Friday Gadgets
Comments posted to this topic are about the item Protecting Multi-Step Data Changes with...
I run these queries:
SELECT COUNT(*) FROM dbo.Beer SELECT COUNT(*) FROM etl.beerI get 25 as the result for dbo.beer and 1 for the result for etl.beer. Both tables have identical sructures and both of these are nonpartitioned tables. I run this code:
ALTER TABLE dbo.beer switch TO etl.beer go SELECT COUNT(*) FROM dbo.Beer SELECT COUNT(*) FROM etl.beerWhat happens? See possible answers