NigelRivett.com

By Nigel Rivett on 20 March 2002 | 5 Comments | Tags: Developer Sites, DBA Sites


Created by nr from the forums, this site has loads of useful information on SQL Server. Follow the link to NigelRivett.com...

Discuss this article: 5 Comments so far. Print this Article. This page has been read 3,623 times.

If you like this article you can sign up for our newsletter. We send it out each week that we post a new article. There's an opt-out link at the bottom of each newsletter so it's easy to unsubscribe at any time.

Email Address:

Email ThisSubscribe to this feedKick itSave to del.icio.usView blog reactions

Related Articles

Top 10 SQL Server Blogs at Microsoft (26 September 2007)

Easy-SQL-Server.com (20 June 2002)

MSSQLCity.com (7 May 2002)

SQLXML.ORG (26 November 2001)

Programmers Heaven - Where programmers go! (15 October 2001)

ITtoolbox Database (17 September 2001)

SQL Administrative Scripting (14 May 2001)

Umachander's SQL Server Script page (11 March 2001)

Other Recent Forum Posts

Customized SqlFool script - Index Reorg/Rebuild (1 Reply)

SSIS Package Hangs (2 Replies)

Rollback information without KILL (3 Replies)

for every value in a table.. (1 Reply)

ReOrganize VS Online Rebuild on table with LOBs (12 Replies)

Re:Definig value in field (0 Replies)

Default settings (3 Replies)

Connecting to SQL Server (0 Replies)

Subscribe to SQLTeam.com

Weekly SQL Server newsletter with articles, forum posts, and blog posts via email:

SQLTeam.com Articles via RSS

SQLTeam.com Weblog via RSS

- Advertisement -

- Sponsor's Message -

SQLShare.com Videos

Writing to the Registry from TSQL Using XP_Instance_RegWrite

Reading from the registry to figure out a configuration issue or two is common, but writing to the registry isn't something you'll need to do very often. Still, it's a useful trick to know and we've put it to work showing you how to alter the default folder used for database backups.

Using XP_Instance_RegRead To Get Default Database Path

SQL saves more than a few things to the registry and we can leverage that by reading those settings from TSQL using xp_instance_regread. Easy to use and only one minor quirk to learn, and you'll reading from the registry. Look for the follow up video that demonstrates how to write changes to the registry too.

How to Change the Default Path for New Databases

Typing CREATE DATABASE MyDB gets the job done, but it puts the files in whatever location has been set as the default - which means you should make sure the default is set to a good place, or specify them as part of the CREATE. We'll show you how to adjust the setting (and we've got a video coming up that shows you how to change it from code too!).

Overview of Data Driven Subscriptions in Reporting Services

Subscriptions are a powerful feature of Reporting Services because they allow users to decide which reports to receive. But what do you do when the boss wants a report sent to a group of users, perhaps based on some additional criteria that frequently changes? That's where data driven subscriptions make sense and in our lesson today Devin does a nice overview of the options and requirements.

Using DatePart and DateName

Ever want to get the month out of a date as a number, or as literal text? Many people will do it by parsing the date as a string, but we've got some built in functions that will do it cleanly and consistently.