SQL Server 2005 Books Online Scoped Search Provided By search.live.com
http://search.live.com/macros/sql_server_user_education/booksonline
Labels: Books On Line, Search, SQL Server 2005
A blog about SQL Server, Books, Movies and life in general
Labels: Books On Line, Search, SQL Server 2005
Labels: Performance, SQL Server 2005, tip
Labels: SQL Server 2000, SQL Server 2005, Whitepaper
Labels: SQL Functions, SQL Server 2005
Labels: Sample Code, Samples. Code
Labels: Newsgroups, Questions
Labels: Funny, Goofing Around, SQL Server 2005
Labels: Ajax
Labels: Goofing Around
Labels: Funny
Labels: Cool Stuff, Data, Tools

Labels: Indexes, SQL Server 2005, Whitepaper
Labels: SQL Server 2005, Tools
Labels: FoxPro

We've all seen views of the Earth from space, where the numerous pinpoints of light on the ground combine to yield a speckled map of the world. I wanted to show the Earth viewed from books, where individual mentions of locations in books combine to yield another interpretation of the globe. The intensity of each pixel is proportional to the number of times the location at a given set of coordinates is mentioned across all of the books in Google Books Search.
Labels: Cool Stuff, Google
Labels: sports
Labels: Links
Labels: Service Pack, Windows Server
Labels: Funny
Labels: Service Pack, Visual Studio 2005
Labels: Service Pack, SQL Server 2005
"Microsoftee Paul Randal drops by for an engaging talk about his contributions
to the recoverability of SQL Server 2005, which are many (Can you say CHECKDB?).
An old friend of ours, and a fairly new friend of Paul's, busts in on the
conversation and makes a cameo appearance. "
Labels: Podcast, SQL Server 2005
How to make a filegroup read only in SQL Server 2005? This question popped up today on tek-tips. This is how you do that: First we will create a new database named TestFilegroup. Next we will add a filegroup named Test1FG1 which contains a file named test1dat3.
The next step is to do an alter database modift filegroup readonly command
Here is the complete script
USE master
go
--Create New DB For Testing
CREATE DATABASE TestFilegroup
go
--Create FileGroup
ALTER DATABASE TestFilegroup
ADD FILEGROUP Test1FG1;
--Add file to fileGroup
ALTER DATABASE TestFilegroup
ADD FILE
(
NAME = test1dat3,
FILENAME = 'c:\t1dat3.ndf',
SIZE = 5MB,
MAXSIZE = 100MB,
FILEGROWTH = 5MB
)
TO FILEGROUP Test1FG1
--Make FileGroup ReadOnly
ALTER DATABASE TestFilegroup
MODIFY FILEGROUP Test1FG1 Read_Only;
Use Read_Only not ReadOnly because the keyword READONLY will be removed in a future version of Microsoft SQL Server. Avoid using READONLY in new development work, and plan to modify applications that currently use READONLY. Use READ_ONLY instead.
Now what happens when you try to create a table on filegroup Test1FG1?
USE TestFilegroup
GO
CREATE TABLE abc (id INT) ON Test1FG1
You will see the following error message
Server: Msg 1924, Level 16, State 2, Line 1
Filegroup 'Test1FG1' is read-only.
You can use sys.filegroups and check the is_read_only column to find out if a filegroup is read only
SELECT is_read_only
FROM sys.filegroups
WHERE name = 'Test1FG1'
Here is the result
is_read_only
------------
1
Using NTFS Compression with Read-Only User-defined Filegroups and Read-Only Databases
SQL Server 2005 supports NTFS compression of read-only user-defined filegroups and read-only databases. You should consider compressing read-only data in the following situations:
You have a large volume of static or historical data that must be available for limited read-only access.
You have limited disk space.
Labels: SQL Server 2005, tip
Labels: SQL Server 2005
Labels: Web2.0
Labels: SQL Server 2000, SQL Server 2005
Labels: SQL Server 2005, SQL Server 2005 Express, Video