Join | Login | Why Join?   
SQL Server, Oracle, DB2, Sybase, MySQL Help - SSWUG.ORG HACKER SAFE certified sites prevent over 99.9% of hacker crime.
Search SSWUG:   
 
Access to 510 free guest articles, discussions and more, just create your free SSWUG User ID:
Email address:  
This will be your login ID - we'll email you your password - you'll even receive the newsletter, opt-out at any time.
Available to Members = Members-Only     Available to Registered Guests = Registered Guests

Free articles for registered guests

[Oracle]  [SQL Server]  [XML]  [Home]

These articles are always free for members, but are currently available to registered guests as well. This list of articles changes daily.

Discuss | See Current Member Articles


Register for FREE Access to These Articles.

When you register, you can choose to be a registered guest and have access to these articles, or you can become a dues-paying member, with a great-many benefits, and get full access to everything on SSWUG and many other benefits.


Available to MembersAvailable to Registered GuestsCompression Strategies  - (Sunil Agarwal) In the previous blogs, I had described the data compression in SQL Server 2008 and its implications on CPU and IO. One of the question that keeps coming up is ‘Should I compress m... [more]

Available to MembersAvailable to Registered GuestsDetermining SET Options for Current Session - With each session that is made to SQL Server the user can configure the options that are SET for that session and therefore affect the outcome of how queries are executed and the underlying behav... [more]

Available to MembersAvailable to Registered GuestsSQL Server Checkpoint I/O Behavior  - (Linchi Shea) Andrew Kelly in a recent post here advised visiting/revisiting the SQL Server I/O basics, and I completely agree. A firm grasp of the basics can make it easy to understand some syst... [more]

Available to MembersAvailable to Registered GuestsHow secure is your SQL Server network design? - (Kevin Beaver) No matter how you've hardened your SQL Server systems, a weak network design can still undermine the best of database security controls. It's easy to assume that all's well inside ... [more]

Available to MembersAvailable to Registered GuestsData Collector in SQL Server 2008 - This is a wonderful new feature in SQL Server 2008. Data Collector in SQL Server 2008 is a component that is installed in a SQL instance and which can either be configured to run on your defined ... [more]

Available to MembersAvailable to Registered GuestsQuery Execution Statistics - (Greg Larsen) In my last article I talked about tracking performance of TSQL statements (http://www.sql-server-performance.com/articles/per/tsql_statement_performance_p1.aspx). In that article ... [more]

Available to MembersAvailable to Registered GuestsReporting Services: Customize Automatically Created Parameter Support Objects - (William Pearson) As we learned in Mastering OLAP Reports: Parameters for Analysis Services Reporting, Pt. I and Mastering OLAP Reports: Parameters for Analysis Services Reporting, Pt. II, a comm... [more]

Available to MembersAvailable to Registered GuestsUsing Included Columns in SQL Server 2005 - (Kathi Kellenberger) One of the new features found in SQL Server 2005 is the ability to add additional columns, called Included Columns, to a non-clustered index. This article will explain the ad... [more]

Available to MembersAvailable to Registered GuestsSQL Server 2008 Spatial - What shape is a square? - (Simon Sabin) You think this an odd title, a square is a square. Well whilst that is the case in a planar 2D world in a 3 spatial world where the square is drawn on a sphere.

Available to MembersAvailable to Registered GuestsDetermining SQL Server database storage requirements - (Denny Cherry) Determining accurate storage requirements in SQL Server is an ongoing process that you should repeat regularly throughout the life of the database application. The first time to de... [more]

Available to MembersAvailable to Registered GuestsSQL Server 2005 - Backup, Integrity Check and Index Optimization  - (Ola Hallengren) I have made a solution for backup, integrity check and index optimization in SQL Server 2005. The solution is based on stored procedures, functions, sqlcmd and SQL Server Agent j... [more]

Available to MembersAvailable to Registered GuestsCompleting the Introduction to Transact-SQL  - (Barzan "Tony" Antal) In the first half of this series we learned the basics of Transact-SQL. In case you missed it, I strongly suggest you check it out before moving on with this segment. The pr... [more]

Available to MembersAvailable to Registered GuestsSQL Server clustered index design for performance - (Matthew Schroeder) Clustered indexes in SQL Server are a critical consideration in the overall architecture of the database. They are often overlooked, misunderstood or, if the database is small... [more]

Available to MembersAvailable to Registered GuestsSwitching data in and out of a SQL Server 2005 data partition - One of the challenges of working with large datasets or datasets that become stale is the need to move large chunks of data in and out of your tables. This can be done with large INSERT and DELE... [more]

Available to MembersAvailable to Registered GuestsWrite your own sp_lock system stored procedure in SQL Server 2005 - (Tim Chapman) The sp_lock system stored procedure is a great tool for checking the amount of locking that occurs on your database system. It returns the number and types of locks that are being h... [more]

Available to MembersAvailable to Registered GuestsBitMask Fields - This blog post is in response to one of the questions that we got from our reader. Here is the question: “I’d like to hear your opinions on bitmask fields. I have found a lot of flames on usin... [more]

Available to MembersAvailable to Registered GuestsUsing SQL Server Package Configuration with SQL Server Integration Services (SSIS) Packages - (Ray Barley) As we develop, test and deploy SSIS packages, we need to specify different parameter values for things like database connection strings, file and folder paths, etc. without having to... [more]

Available to MembersAvailable to Registered GuestsMicrosoft's Lineup of SQL Server Related Webcasts for January 2008 - Nine new webcasts are scheduled for January, covering such topics as "Unlock the Business Intelligence Capabilities of SQL Server", "SQL Server 2008 Programming for Application Developers" and mo... [more]

Available to MembersAvailable to Registered GuestsThe Web Assistant Wizard - (Buck Woody) In an earlier tutorial I explained a bit about database maintenance, and in another tutorial I showed you how to use a SQL Server Wizard to automate maintenance steps into a full mai... [more]

Available to MembersAvailable to Registered GuestsHow to construct and use SQL OUTER JOINs optimally  - Learn the basics of a SQL Server OUTER JOIN in this excerpt from "SQL Queries for Mere Mortals: A Hands-On Guide to Data Manipulation in SQL, Second Edition." You'll discover how to construct LEF... [more]

Available to MembersAvailable to Registered GuestsSQLCMD utility in SQL Server 2005 - In one of our previous blog post, we had covered some of the command line utilities in SQL Server 2005. One of such utilities is SQLCMD. This is a replacement for the osql and isql command line u... [more]

Available to MembersAvailable to Registered GuestsRebuild indexes online with SQL Server 2005 - (Tim Chapman) Indexes are specialized data structures that operate on tables (and sometimes views) in the database engine used to aid in the searching for and sorting of data. Indexes are vital t... [more]

Available to MembersAvailable to Registered GuestsOwner/schema qualifying object names  - (Tibor Karaszi) It isn't easy to remember all the details regarding object/schema qualifying object names. There are many variables involved, such as: --Version of SQL Server --Qualifying th... [more]

Available to MembersAvailable to Registered GuestsSQL Server 2005 does not validate all articles in a transactional publication when you run the sp_publication_validation stored procedure to validate the articles - Consider the following scenario. You have a transactional publication in Microsoft SQL Server 2005. Some articles in the transactional publication have the column filtering feature enabled. You r... [more]

Available to MembersAvailable to Registered GuestsUsing the DATE data type in SQL Server 2008 - (Bill Graziano) In SQL Server 2008 we get a new DATE date type that allows you to store a date without a time.

Available to MembersAvailable to Registered GuestsData Encryption in SQL Server 2005 – Part I - (Muthusamy Anantha Kumar) Encryption is the key for data security. Sensitive data such as Social Security numbers, credit card numbers, passwords, etc. should be protected from hacking.

Available to MembersAvailable to Registered GuestsChanging the owner of a database  - (Louis Davidson) Tonight, as I was creating my sample database for my chapter on implementing the database, I learned something new, that existed in 2005. I had always used sp_changedbowner to c... [more]

Available to MembersAvailable to Registered GuestsSQL Queries for Mere Mortals: Thinking in Sets - (John L. Viescas and Michael J. Hernandez) By now, you know how to create a set of information by asking for specific columns or expressions on columns (SELECT), how to sort the rows (ORDER BY), ... [more]

Available to MembersAvailable to Registered GuestsSnapshot Reports II: SQL Server Management Studio Perspective - (William Pearson) As we noted in Snapshot Reports I: Report Manager Perspective, Snapshot caching is turned off by default. A significant difference between both Report Session and Report Executi... [more]

Available to MembersAvailable to Registered GuestsSQL Server Security Model - (Gregory A. Larsen) Windows Authentication, SQL Server Authentication, Windows Groups, Database Roles, Schema, and Application Roles are all aspects used to manage SQL Server Security. So how do ... [more]

Available to MembersAvailable to Registered GuestsSQL Server Indexes: The Basics - (Kathi Kellenberger) Indexes directly affect the performance of database applications. This article uses analogies to describe how indexes work. The estimated execution plan feature of the Query ... [more]

Available to MembersAvailable to Registered GuestsRS HowTo : Pass a multivalue parameter to a query using IN - (Simon Sabin) One of the most common requests I've seen when people write queries for applications is to be able to pass a delimited list of values and use it in an IN clause.

Available to MembersAvailable to Registered GuestsSSIS Design Pattern - ETL Instrumentation, Part 3  - (Andy Leonard) In Part 3, we start using the ETL Instrumentation infrastructure we've built to measure some actual ETL. We now have the concepts - it's time to put them to work!

Available to MembersAvailable to Registered GuestsReorganize permissions in SQL Server 2005 step by step - (Michelle Gutzait) You read many articles and best practice documents about SQL Server security. Life would be easy if you already had security standards and everything was planned out ahead of t... [more]

Available to MembersAvailable to Registered GuestsSQL Server 2005 Express Edition - Part 11 - ClickOnce Deployment and Maintenance Options - (Marcin Policht) In the most recent installments of our series dedicated to SQL Server 2005 Express Edition, we have discussed the User Instance mechanism, presenting its unique characteristics a... [more]

Available to MembersAvailable to Registered GuestsSQL Server Reporting Services: Getting Started - (Vikas Goyal) The main participants in the SSRS ecosystem are: --End Users: Users who are interested in generated reports --Administrators: Users responsible for maintaining the SSRS service... [more]

Available to MembersAvailable to Registered GuestsChange Management - (Buck Woody) All technical professionals are concerned with performance, usability, maintenance and so on, but among technical professionals DBAs area some of the most paranoid, or at least they ... [more]

Available to MembersAvailable to Registered GuestsBring Array Mapping Capabilities to SQL - (Michael Sorens) SQL has been evolving—slowly—for over three decades, (see Wikipedia for a historical summary). While SQL in the hands of an expert is quite powerful, it's sometimes cumbersome co... [more]

Available to MembersAvailable to Registered GuestsSQL Server Backup Types and Scopes - (Mike Chapple) One of the major advantages that enterprise-class databases offer over their desktop counterparts is a robust backup and recovery feature set. Microsoft SQL Server provides databas... [more]

Available to MembersAvailable to Registered GuestsBenchmarking Disk I/O Performance: Size Matters! - (Linchi Shea) If you use a tool such as IOMeter or sqlio.exe--both of which are freely downloadable--to benchmark the I/O performance of a disk, you typically would configure the tool to generate... [more]

Available to MembersAvailable to Registered GuestsSuccessful Backup Messages No More...  - (Andrew Kelly) How many times have you asked for a way to turn off the behavior in SQL Server that logs successful backup messages to the SQL Server Logs and to the Windows Application Event Logs... [more]

Available to MembersAvailable to Registered GuestsSQL: Merge two 'history tracking' tables  - (Alberto Ferrari) If you have two columns in a table that "remember" their old values in two different historical tables, as it is the case in AdventureWorks with EmployeePayHistory and EmployeeD... [more]

Available to MembersAvailable to Registered GuestsExecute SQL statements in Integration Services - (Tim Chapman) Executing SQL statements is one of the easiest and most common tasks that occur in SQL Server 2005 Integration Services (SSIS). This tutorial walks you through the process of adding... [more]

Available to MembersAvailable to Registered GuestsPerformance is slow when you run a query in SQL Server 2005 that updates a table on a linked server and then joins the table to a table on the local server - Consider the following scenario: • You have a query that updates a table on a linked server and then joins the table to a table on the local server. • The local server is running Microsoft ... [more]

Available to MembersAvailable to Registered GuestsThe Baker's Dozen: 13 Productivity Tips for Transact-SQL 2005 - (Kevin S. Goff) Microsoft implemented many new features in SQL Server 2005, including an impressive set of language enhancements. From new language statements for SQL-99 compatibility to new feat... [more]

Available to MembersAvailable to Registered GuestsCreating SQL Server columns: A best practices guide - (Baya Pavliashvili) Use the smallest data type necessary to implement the required functionality. I have worked on several systems which used NUMERIC or FLOAT data types even though not a single ... [more]

Available to MembersAvailable to Registered GuestsCreating SQL Server tables: A best practices guide - (Baya Pavliashvili) Always save CREATE TABLE statements, along with all other statements defining database schema in a secure location. Every time you make a change to a database object, be sure ... [more]

Available to MembersAvailable to Registered GuestsDid You Know? What's a $ Worth?  - (Kalen Delaney) No, I'm not talking about US dollars, which are not worth much at all these days. I'm talking about the $ used in a particular construct in SQL Server 2005 to get information abou... [more]

Available to MembersAvailable to Registered GuestsAsymmetric Sets on Columns in Reporting Services - (Chris Webb) Now I don't know if I've blogged about this before - apologies if I have, but I can't find any trace of it on Google and since this is a fairly common performance-related problem it ... [more]

Available to MembersAvailable to Registered GuestsSQL Server Backup Types - (Eric Johnson) Welcome to this new series -- in this column, I hope to impart some quick, short tips that will help you make quick work of managing and administering your SQL Server databases. Fi... [more]

Available to MembersAvailable to Registered GuestsForcing Termination of User SQL Sessions so I can 'DROP DATABASE' - (Euan Garden) Once again from the internal dbtalk alias. The person in question recreated their database from scratch as part of a batch job every night and had GO USE MASTER GO DROP... [more]

Available to MembersAvailable to Registered GuestsNULLs Part II: NULL usage of NULL  - (James Luetkehoelter) In my previous post on NULLs I discussed (rather replied to Hugo Kornelis) some more academic concepts and definitions when it comes to NULL. It is very sad for me to admit ... [more]

Available to MembersAvailable to Registered GuestsDefaultMember, subcubes and non-aggregatable attributes  - (Marco Russo) Today I discovered that DefaultMember might result in a member other thant the default dimension member.

Available to MembersAvailable to Registered GuestsPreparing for the M70-444 Exam - (Gregory A. Larsen) Are you considering becoming a Microsoft Certified DBA? Where do you start? How do you prepare for getting certified? There are lots of different methods to prepare for the ex... [more]

Available to MembersAvailable to Registered GuestsDatabase backup: insufficient resources for cache withdrawal - (Brian Donahue) Sometimes SQL Server can pose conundrums of such complexity that even the Riddler couldn't conceive of. In my mind's eye, a SQL Server is in fact its' own operating system, runnin... [more]

Available to MembersAvailable to Registered GuestsHow to rewind a SQL Server - (Brian Donahue) I work for a company that sells software. And SOME people, because of their untrusing nature, need to be convinced that the software that we want to sell them actually works. This... [more]

Available to MembersAvailable to Registered GuestsMicrosoft Windows PowerShell and SQL Server 2005 SMO – Part 8 - (Muthusamy Anantha Kumar) This installment illustrates how to use PowerShell in conjunction with SMO to display object properties of all SQL Server Objects.

Available to MembersAvailable to Registered GuestsSQL Server 2005 Express Edition - Part 6 - Post Installation Configuration Tasks (Encryption) - (Marcin Policht) In the previous installment of our series dedicated to SQL Server 2005 Express Edition, we have reviewed a number of network-based configuration tasks that are typically introduc... [more]

Available to MembersAvailable to Registered GuestsMoving SQL Server 2005 Databases to SQL Server 2000 - (Frank Kerrigan) Moving databases from SQL Server 2005 to SQL Server 2000 is not impossible and can really be quite easy once you come to grips with the basics. Microsoft has made it very easy to... [more]

Available to MembersAvailable to Registered GuestsPivots with Dynamic Columns in SQL Server 2005 - (Andras) Pivots in SQL Server 2005 can rotate a table, i.e. they can turn rows into columns. PIVOTs are frequently used in reports, and they are reasonably simple to work with. However, I've seen... [more]

Available to MembersAvailable to Registered GuestsAvoid enclosing Indexed Columns in a Function in the WHERE clause - (Bill Graziano) When a function is wrapped around an indexed column in the WHERE clause it will usually prevent the proper usage of that index. This article gives an example and discusses what ot... [more]

Available to MembersAvailable to Registered GuestsManaging permissions in SQL Server Reporting Services - (Eric Johnson) SQL Server Reporting Services (SSRS) is an extremely handy tool in the SQL Server 2005 suite. You can use it to easily create, deploy and manage reports for your entire organizatio... [more]

Available to MembersAvailable to Registered GuestsSQL Refactor and the Table Splitting Headache - (András Belokosztolszki) When a database table becomes unmanageably large, it is time to break it up using horizontal or vertical partitioning. After horizontal partitioning, you will have severa... [more]

Available to MembersAvailable to Registered GuestsString Functions: The .Properties Function - (William Pearson) In this, the first half of a two-part article, we will expose another useful function within the MDX toolset, the .Properties function. The general purpose of the .Properties fu... [more]

Available to MembersAvailable to Registered GuestsChecklists  - (Allen White) One of the first things a pilot is taught is to use checklists. Everything from preflight to tie down after your return is covered in aviation checklists. Did you check the thicknes... [more]

Available to MembersAvailable to Registered GuestsSetting Up Delegation for Linked Servers - (Gregory A. Larsen) If you are like most, you probably have looked into using Windows Authentication as a method to authenticate users to SQL Server 2005. Windows Authentication is the preferred ... [more]

Available to MembersAvailable to Registered GuestsUse Trace to capture Production Server Activity  - (Allen White) One of the great things about SQL Server is that there are many ways to accomplish the same task.

Available to MembersAvailable to Registered GuestsSQL Server 2005 Express Edition - Part 5 - Post-Installation Network Configuration Tasks - (Marcin Policht) In the first few installments of our series dedicated to SQL Server 2005 Express Edition, we have presented an overview of its main characteristics that distinguish it from Compa... [more]

Available to MembersAvailable to Registered GuestsGetting to Know the SQL Server 2005 Compact Edition Tools - (Prashant Dhingra and Trent Swanson) One main limitation of the SQL CE 2.0 database released in 2002 was the need to manage the database either using a query analyzer tool on mobile devices or by... [more]

Available to MembersAvailable to Registered GuestsThe 'SQL Server:SSIS Pipeline' performance object does not appear in the 'Performance object' list after you install Integration Services from a 64-bit version of SQL Server 2005 - Consider the following scenario. You install Microsoft SQL Server 2005 Integration Services from a 64-bit version of Microsoft SQL Server 2005. In System Monitor, you try to add the SQL Server:SS... [more]

Available to MembersAvailable to Registered GuestsManaging SQL Server 2005 Master Keys for Encryption - (Tim Cullen) I recently accepted the challenge of designing a database for an employee application, and the first thought to cross my mind was," I will need to encrypt at least one piece of data"... [more]

Available to MembersAvailable to Registered GuestsProgramming SQL Server 2005 Compact Edition with ADO - (Prashant Dhingra and Trent Swanson) SQL Server Compact Edition allows you to store data on a desktop or mobile device. A majority of application code consists of retrieving data from a database,... [more]

Available to MembersAvailable to Registered GuestsHow to Insert Values into an Identity Column in SQL Server - (Bill Graziano) Identity columns are commonly used as primary keys in database tables. These columns automatically assign a value for each new row inserted. But what if you want to insert your ... [more]

Available to MembersAvailable to Registered GuestsIs 'YYYY-MM-DD' always treated as year, month, date?  - (Tibor Karaszi) Most of you already know the answer to this question: no.

Available to MembersAvailable to Registered GuestsTEXT in ROW option in SQL Server - MS SQL Server allows us to store large variable length data in text, ntext or image columns. One can store up to 2GB worth of non-Unicode character or binary data in text columns. Sometimes quer... [more]


   



 

[ Register ] [ Webcasts ] [ Podcasts ] [ Newsletter Archive ] [ RSS/Feeds ]
[ About ] [ Advertise ] [ Contact ] [ Privacy ] [ Terms of Service ]
[ Link to SSWUG ] [ List Server Archives ] [ Recent Orig. Content ]
(c) 1997-2008, Bits on the Wire, Inc.  (0)

Some names and products covered by SSWUG are the registered trademarks of their respective owners.
DAA10354WWW004