In this issue

Featured Articles

Editorial

Featured Script

advertisement
SQL Data Compare "Get my SQL Server ebook for FREE when you try out SQL Data Compare Pro."
Robin Dewson is offering a download of his "SQL Server 2005 for Developers - from Novice to Professional" (Apress) when you download a free trial here.
SQL Backup Could you be the next Exceptional DBA?
Over 60,000 Exceptional DBAs worldwide love SQL Backup. So why not see for yourself how smaller, faster, secure backups mean you too can make the most of your hours in the office? Download your free trial now.

Featured Articles

Monitoring on a Budget

Have you ever been asked for information you couldn't provide because you didn't have an historical monitoring tool? Try thisMore »


Importing Text-based data: Workbench

Robyn and Phil return with some fresh ideas about how to import text files into SQL Server, without resorting to DTS or SSIS scripting. They go on to show how much can be done in TSQLMore »


Declarative Management Framework - Performing Policy Management

The Declarative Management Framework is a new policy based management framework included with the upcoming SQL Server 2008. Using this feature administrators can define policies to govern their SQL Server environments much like in the Windows environment. This article, written based on the SQL Server "Katmai" July CTP introduces you to the DMF and shows you how you can perform policy management.More »


Editorial - Open Enrollment

My wife and I are in "open enrollment" for benefits where we have to choose our medical plan, our dental, vision, life insurance and more. It's an annual process that is thankfully simpler since I haven't had any benefits to compare against for a few years. That may change at some point, but I'm glad we don't have to go through two plans and compare them. It's enough of a chore to go through one.

We managed to fit in a lunch together, and listened to the call from her company's HR person. It was interesting to hear the presentation and how her company is pushing proactive health. They're using a carrot and stick approach with physicals and "health coaches" to try and help employees live healthier lives. The presenter mentioned that healthier employees do a better job and save the company (and themselves) money.

What was very interesting to me, and inspired me to write this, was a question at the end. This is a high-tech company that develops computer telephone systems and like many of the companies I've worked for, they are mostly composed of white-collar workers that put in lots of hours. One of them asked this question regarding the healthier lifestyle promotion: if the company wants employees to be healthier, than will it give them time to exercise?

The question was taken under advisement, supposedly to be presented to management. I haven't heard anything back on an answer, but it was definitely a question embraced by the employees, but one that made management nervous.

I thought it was a great question, but it's a hard benefit to apply equally. There are plenty of people who won't exercise or do anything to improve their health, there are some that take it to an extreme, there are some how eat well, some who don't, and some who are naturally very healthy because of genes. Note that you could fall into more than one of those categories. I know I do, with exercise to keep in shape, but not the best diet in the world.

As computer-based workers, we tend to be fairly sedentary and couple that with poor dietary habits overall, it's certainly a burden that employers have to bear when our health worsens. I tend to look at that as part of the cost of doing business. Just as you can't hire all superstar DBAs or developers, you won't hire all healthy people.

The corporate culture, however, can easily make things worse. No facilities on site (for larger companies), no healthy meals, a lack of subsidies for gym memberships are all neutral in my opinion. They are nice, they help, but a lack of them doesn't hurt. But time is important. Not allowing time for employees to work out, if they want to, with brutal work or travel schedules, is detrimental to an employee's and the overall corporate health.

Most of us can exercise, and many of us will if we have time. However it tends to rank below work and family time. By giving employees some time around work, making it a "benefit", you build a lot of goodwill and breed loyalty by showing you care about the employees.

It's the action, not the words, that matter the most.

Steve Jones


The Voice of the DBA

Robin Stine

The podcast feeds are now available at sqlservercentral.podshow.com to get better bandwidth and maybe a little more exposure :). Comments are definitely appreciated and wanted. You can get feeds from there.

Today's podcast features music by the beautiful, jazzy, Robin Stine. Check her music out at www.robinstine.com.

I really appreciate and value feedback on the podcasts. Let us know what you like, don't like, or even send in ideas for the show. If you'd like to comment, post something here. The boss will be sure to read it.

» Join the debate, and respond to today's editorial on the forums

» To submit a tip, rant or editorial, log in to the Contribution Center


Question of the Day

Today's Question:

In which filegroups must the mdf (or first file) file reside in a SQL Server 2005 database?

Think you know the answer? Click here, and find out if you are right.

This question is worth 2 points. We keep track of your score to give you bragging rights against your peers.

We'd love to give you credit for your own question and answer. To submit a QOD, simply log in to Contribution Center.


Yesterday's Question of the Day

What will be the output of this query if run by a normal user?

RAISERROR ('Invalid Input', 20, 1)
GO

Answer: Msg 2754, Level 16, State 1, Line 1Error severity levels greater than 18 can only be specified by members of the sysadmin role, using the WITH LOG option.

Explanation: Only sysadmins can raise severities greater than 18. Therefore this will generate an error.

Ref: Database Engine Error Severities - http://msdn2.microsoft.com/en-us/library/ms164086.aspx
Raiserror - http://msdn2.microsoft.com/en-us/library/ms178592.aspx

» Discuss this question and answer on the forums


Featured Script

Get all user def table info with rowcount and size

"sp_spaceused" procedure is really handy to get the updated information about space usage by database or tables. <BR/> <BR/> I combined the same with another very useful procedure...More »


Database Pros Who Need Your Help!

Here's a few of the new posts today on the forums. To see more, visit the forums.

SQL Server 2005 : Administering

Replication problem or "By design"? - I am doing replication of a DB and certain tables, all without primary keys, will not replicate, the ones with...

Migrating databases from 32 bit SS 2000 to 64 bit SS 2005 - Hi I'm taking over the migration of a clustered SS2000 32 bit server that will be migrated to SS2005 64...

DBCC shrinkfile - rollback just hanging - Hello, I canceled a shrinkfile (emptyfile) some 2 days ago, but it is still showing as klled/rollback. Would it be OK...

Maintenance plan (wizard), where is it?! - So I have installed a SQL Server 2005 DevEd, applied SP2a, attached the AdventureWorks databases and now wish to make...

Getting Error: Cannot update identity column - [i][/i]Dear Forum, First of all, I would like to thank you for your generous help in the past. I am getting the...

Multiple Operator Notifications and Data Base Status - Hi everyone. Is it possible to notify more than one operator of the same job completion? The notifications of Job...

Reverse Engineering Entity Relationship Diagrams for SS2005 - Does anyone know how to reverse engineer Entity Relationship Diagrams for Sql Server 2005 (or indeed Sql Server 2000) without...

SQL Server 2005 : Business Intelligence

Report Model & Cube necessity - Hi there, We are working on a business intelligence solution and are breaking our heads on something that is too critical...

Why Web Service Task don't work? - In SSIS i try to use a Web Service Task for a Web Service of Sharepoint (WSS 3.0). Web Service = Lists Method...

SQL Server 2005 : Development

Error converting data type DBTYPE_DBTIMESTAMP to datetime - Hi everyone, Im a newbie here. I have created a linked server on SQL Server 2005 to access data from visual...

HELP --- SQL Programming - I am new to SQL Server and need help fast.... If have the following table data... [font="Tahoma"]ProjProjID ProjStartDT ProjEndDT ------------------------------------ 88355 NULL NULL 88355.001 NULL...

Rearrange Identity values - Hi I have two fields, first field is with identity values like 1,A 2,B 3,C 4,D 5,E 6,F 7,G 8,H 9,I 10,J I need to delete values 3,C and 7,G after...

SQL Server 2005 : SQL Server 2005 General Discussion

Splitting Data in "TEXT" datatype - Firstly Hi everyone, Just joined the site, seems to be alot of information on here, just haven't figured out how to...

Reporting Services: how to create a form like report? - I need to create a report which looks like a form like this (description inside a box): 123 Subject x This is...

SQL Server 2005 : SQL Server 2005 Strategies

Hundreds of unique tables - First off let me say I am relatively new to SQL Server, so I am a MS Sequel Server idiot...

SQL Server 2005 : SQL Server 2005 Performance Tuning

Sql server 2000 - i can execute the stored procedure X like this exec x this procedure returns the 10 rows ,in that rows one...

Foreign keys good or bad practice? - Hi Guys, I have come across a DB where there are no Foreign key relationship's ... Is this a wise thing to...

SQL Server 2005 : SQL Server 2005 Integration Services

Do not know how to deploy package from Dev Server to Prod Server - [b]Hi, I hope someone could guide me on this.I have tried many many attempts for the past few days and am...

**************DD/MM/YY to MM/DD/YY************ - :crying: Hi, I need help on the following.I have a column 'Date' in Staging table with the following [b]Data type=varchar(50) Format/Style='dd/mm/yy' Example='18/11/07'[/b] I need to...

SQL DATABASE TO PIVOT TABLE - Hi, I need to work with data which is huge and does not fit into the excel sheet. I want...

check if table has records - My current ssis package will perform data transfer from Source Table A to Target Table B. I want the ssis...

SQL Server 2005 : T-SQL (SS2K5)

Openrowset for Excel missing data - I am trying to use this statement to read the data from an xls file for processing: SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', ...

Partitioned Tables in SQL Server 2005 - is thisposible to Partitioned the existing Tables in SQL Server 2005 if yes tell me how with demo...

SQL Server 7,2000 : Administration

Reindexing Tables used in Log Shipping - I have several databases just set up for log shipping to another server. Previously, I would set the DB to...

MS SQL 2000 - How do I track a user who deleted SQL DB objects? - Hello All, Newbie here, Just wondering is there a way to track down what logged in user (mixed mode) who deleted...

Need help resolving blocking problems - Help! I'm seeing a server that goes through periods where there is lots of blocking. At those times (several times per night...

SQL Server 7,2000 : Strategies

Best Guideline or Strategy when dealing with records - Hi, I just want to know if there are specific guidelines to follow for the following scenario: 1. Generate approx. 1000 records...

SQL Server 7,2000 : SQL Server Newbies

read statements - Hello, don´t know if i am right here. i have the following problem. i´m using a program which works with sql...

SQL Server 7,2000 : Performance Tuning

Performance Monitoring - Good day, I recently noticed that whenever the Disk Queue Length shoots up the CPU usage will be low and whenever...

SQL Server 7,2000 : T-SQL

separate log file for DTS package - Hi all, DTS package appends the log into a single log file after its execution. Is it possible that it logs...

Identifying the html tags contained data in database table - Hi All, In my database table there are some records with formatted with html tags and some plain. Now i wanted find...

Reporting Services : Reporting Services

multiple sorting - Hello All! My report has columns Date, Year, Model, Cost, Color etc. I have users that will require the abililty to sort...

Formatting Dates - Hi, I can't work out how to get dates to display in the following format dd/mm/yyyy. They currently display mm/dd/yyyy. Can someone...

Data Warehousing : Data Transformation Services (DTS)

how to Convert XML to CSV,Is it having Any Easy way - Hi i am pavan, i have a problem, how to Convert XML to CSV,Is it having Any Easy way ! If...

Testing Center : SQL Server Security Skills

How can I unencrypted a stored procedure - I got few stored procedures With Encryption for the database that I converted to SQL Server 2000.   I need to...